Skip to content

Instantly share code, notes, and snippets.

@bensie
Forked from heroku-examples/gist:428956
Created June 10, 2010 08:04
Show Gist options
  • Select an option

  • Save bensie/432692 to your computer and use it in GitHub Desktop.

Select an option

Save bensie/432692 to your computer and use it in GitHub Desktop.
heroku config --long | ruby -pe "\$_ = \$_.gsub(/(\w+)\s+=> (.+)/, 'export \1=\2')" > /tmp/$$ && source /tmp/$$; rm /tmp/$$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment