This page provides an example configuration:
Tutorial: Rails 3.2 with Ruby 1.9.3 on Heroku ยท RailsApps
This tutorial assumes that you have SQLite locally. If you want MySQL, just use in your Gemfile
group :development, :test do
gem 'mysql2'
end
group :production do
gem 'pg'
end
But how do I configure database.yml
- ; Heroku , .
( Heroku):
PostgreSQL . - .
( ):
bundle install --without production, . --without production pg gem; PostgreSQL (pg gem , PostgreSQL ).
user1027503