Skip to content

Instantly share code, notes, and snippets.

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