Skip to content

Instantly share code, notes, and snippets.

@thomasbiddle
Last active December 17, 2015 08:38
Show Gist options
  • Save thomasbiddle/5581079 to your computer and use it in GitHub Desktop.
Save thomasbiddle/5581079 to your computer and use it in GitHub Desktop.
Spin up Rails in either "prod" or "production" environment
# Belongs in your config/application.rb as far up as possible (Right under require statements should be good)
# Allow either 'prod' or 'production' rails env.
if ENV['RAILS_ENV'] == 'prod'
ENV['RAILS_ENV'] = 'production'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment