Created
July 9, 2013 03:38
-
-
Save charlespeach/5954520 to your computer and use it in GitHub Desktop.
Install a list of gems from a `.gems` file.
This file contains hidden or 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
gems = File.open(".gems") | |
gems.each do |gem| | |
puts "Installing #{gem}" | |
`gem install #{gem}` | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This way is easier, and puts the stdout into terminal