Created
August 2, 2013 14:13
-
-
Save mtwentyman/6140194 to your computer and use it in GitHub Desktop.
how to open gems in sublime text editor
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
# ~/.bash_aliases | |
gempaths () | |
{ | |
gemdir=`gem environment gemdir`/gems; | |
paths=''; | |
for i in "$@"; | |
do | |
paths="$paths `echo $gemdir/$i`"; | |
done; | |
echo -e $paths | |
} | |
# shell | |
$ subl `gempaths {active,action,rail}*3.2.13` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment