Skip to content

Instantly share code, notes, and snippets.

@spiceee
Created November 21, 2009 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spiceee/240228 to your computer and use it in GitHub Desktop.
Save spiceee/240228 to your computer and use it in GitHub Desktop.
#!/bin/sh
cat gem_list | sed -n '4,$ p' | \
while read gem versions; do
for version in $(echo ${versions} | sed "s/[(),]//g"); do
echo ${gem} ${version}
gem install --no-rdoc --no-ri ${gem} -v ${version}
done
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment