Skip to content

Commit

Permalink
Literally how I deal with rubbies.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtlechow committed Jun 7, 2013
1 parent 2203a2b commit e432fcd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .bin/setup-rubies
@@ -0,0 +1,17 @@
for file in `ls /usr/local/Cellar/ruby/2.0.0-p195/bin`
do
rm ~/.bin/${file}2
ln -s /usr/local/Cellar/ruby/2.0.0-p195/bin/${file} ~/.bin/${file}2
done

for file in `ls /usr/local/Cellar/ruby/1.9.3-p374/bin`
do
rm ~/.bin/${file}19
ln -s /usr/local/Cellar/ruby/1.9.3-p374/bin/${file} ~/.bin/${file}19
done

for file in `ls /System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin`
do
rm ~/.bin/${file}18
ln -s /System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/${file} ~/.bin/${file}18
done

0 comments on commit e432fcd

Please sign in to comment.