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.
Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle