It’s not a huge burden but I would really like to be able to change the default gem-set on my rails apps when I create them so that they’re ready for Heroku.
What is the best way to go about doing this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can specify the database with
-dwhen runningrails new:So for PostgreSQL this is:
To make this the default put
-d postgresqlinto~/.railsrcAnother option is to change
gem 'sqlite3'togem 'pg'in yourGemfileas suggested in Getting Started with Rails 3.x on Heroku.