setting RAILS_ENV for Heroku

June 1, 2012

Heroku apps have their RAILS_ENV set as “production” by default. I’m currently deploying an app for which I need to have the environment set as DEV to get the proper variables. This is what worked. From the terminal do the following

heroku config:add RAILS_ENV=development --app herokuappname

Discussion, links, and tweets

Good Morning!