Skip to content

Instantly share code, notes, and snippets.

@brianburridge
Created April 4, 2013 14:48
Show Gist options
  • Save brianburridge/5310983 to your computer and use it in GitHub Desktop.
Save brianburridge/5310983 to your computer and use it in GitHub Desktop.
Create a gemspec from the currently installed gems within a Heroku app
`gem list`.split("\n").each do |gem| a = gem.split(" ");puts "gem '#{a[0]}', '#{a[1].gsub(/[()]/, "")}'";end ;nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment