Rails 3. Creating a production database Rails 3. Creating a production database ruby-on-rails ruby-on-rails

Rails 3. Creating a production database


You can set the rails env off of the environment variable RAILS_ENV

RAILS_ENV=production bundle exec rake db:create db:schema:load

should work


Shouldn't this be

RAILS_ENV=production bundle exec rake db:create db:schema:load