Skip to content

Instantly share code, notes, and snippets.

@rykov
Created November 14, 2011 20:30
Show Gist options
  • Save rykov/1365054 to your computer and use it in GitHub Desktop.
Save rykov/1365054 to your computer and use it in GitHub Desktop.
Using environment variables in Heroku gem manifests
# I have a verified that this works in the .gems Heroku Gem manifest:
sinatra --version '1.2.3' --source https://gems.gemfury.com/mysecret123/
# Gemfury add-on injects GEMFURY_URL environment variable
# I would like to be able to do something like:
sinatra --version '1.2.3' --source ENV['GEMFURY_URL']
# ...or...
sinatra --version '1.2.3' --source $GEMFURY_URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment