Created
April 4, 2013 14:48
-
-
Save brianburridge/5310983 to your computer and use it in GitHub Desktop.
Create a gemspec from the currently installed gems within a Heroku app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`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