Skip to content

Instantly share code, notes, and snippets.

@dsshap
Created November 20, 2012 18:54
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 dsshap/4120134 to your computer and use it in GitHub Desktop.
Save dsshap/4120134 to your computer and use it in GitHub Desktop.
Heroku ENV in Dev
heroku_env = File.join(Rails.root, 'config', 'heroku_env.rb')
load(heroku_env) if File.exists?(heroku_env)
//
heroku_ev.rb
ENV['foo'] = "bar"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment