# http://rvm.beginrescueend.com/gems/ # Thanks for the awesome idea batasrki function gemdir { if [ -z "$1" ] ; then cd `gem env gemdir` else cd `rvm $1 ; rvm gemdir` pwd fi }