Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/zsh -f
- #alias -g i=install
- #RUBY_VERSION=`ruby -e 'print RUBY_VERSION'`
- #export PATH=$PATH:ruby/$RUBY_VERSION/bin:$GEM_HOME/bin
- gem () {
- case $@ in
- install*-g*) command gem install ${@:3};;
- install*) command gem install ${@:2} --install-dir=ruby/$RUBY_VERSION;;
- *) command gem $@;;
- esac
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement