Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save maxclaus/6264400 to your computer and use it in GitHub Desktop.
Save maxclaus/6264400 to your computer and use it in GitHub Desktop.
How to run rails server locally as production environment
rake db:migrate RAILS_ENV="production"
rails s -e production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment