Skip to content

Instantly share code, notes, and snippets.

@bscott
Forked from heroku-examples/gist:428956
Created June 10, 2010 18:04
Show Gist options
  • Save bscott/433374 to your computer and use it in GitHub Desktop.
Save bscott/433374 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