Skip to content

Instantly share code, notes, and snippets.

@sovanlandy2
Last active August 29, 2015 14:05
Show Gist options
  • 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