Skip to content

Instantly share code, notes, and snippets.

@yhara
Created June 1, 2009 09:46
Show Gist options
  • Save yhara/121327 to your computer and use it in GitHub Desktop.
Save yhara/121327 to your computer and use it in GitHub Desktop.
#!/bin/sh
if [ "$1" == "" ]; then
echo "usage: gemi gemname [gem-options]"
exit
fi
echo "------------------ installing for ruby1.8"
sudo gem install $*
echo "------------------ installing for ruby1.9"
gem-1.9 install $* --format-executable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment