Last active
December 17, 2015 08:38
-
-
Save thomasbiddle/5581079 to your computer and use it in GitHub Desktop.
Spin up Rails in either "prod" or "production" environment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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