Skip to content

Instantly share code, notes, and snippets.

@mafernando
Created November 19, 2015 15:18
Show Gist options
  • Save mafernando/2295ead57f9dc2d992b2 to your computer and use it in GitHub Desktop.
Save mafernando/2295ead57f9dc2d992b2 to your computer and use it in GitHub Desktop.
Running Rake in Production

That is the way it is intended to be. To create the production database do:

RAILS_ENV=production rake db:create

Also, have a look at rake db:setup which will run anything you put in db/seeds.rb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment