Starting your Rails project with an ultra-light setup
23-Nov-2021 1658
Suppose that we need to create a Rails project that will use the classic ERB views and PostgreSQL. One way to start with is simply by running the following command to create a new Rails project called my-project :I’m using Ruby 2.7.1 and Rails 6rails new my-project --database=postgresqlThat command will generate the folder my-project , and inside it we will find the Gemfile where are defined all of the gems that will be used by our applicationThis is the content of the generated GemfileI always prefer to delete the generated comments to get a clearer view of the gems.
Starting your Rails project with an ultra-light setup #ruby #rubydeveloper #rubyonrails #Starting #Rails #project #ultra-light #setup https://rubyonrails.ba/link/starting-your-rails-project-with-an-ultra-light-setup