Skip to content

Instantly share code, notes, and snippets.

@sovanlandy2
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sovanlandy2/95460f62a84214dbdd8e to your computer and use it in GitHub Desktop.
Save sovanlandy2/95460f62a84214dbdd8e to your computer and use it in GitHub Desktop.
How to set heroku app environment to staging or production
heroku config:add RAKE_ENV=staging --remote staging
heroku config:add RAILS_ENV=staging --remote staging
# if you have parity gem installed:
staging config:add RAKE_ENV=staging
staging config:add RAILS_ENV=staging
# check out parity gem, designed specifically for heroku https://github.com/croaky/parity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment