Skip to content

Instantly share code, notes, and snippets.

@aninder
Created March 25, 2013 00:55
Show Gist options
  • Save aninder/5234274 to your computer and use it in GitHub Desktop.
Save aninder/5234274 to your computer and use it in GitHub Desktop.
change ruby system version for those times
sudo ln -fs `which ruby` /usr/bin/ruby
sudo ln -fs `which erb` /usr/bin/erb
sudo ln -fs `which gem` /usr/bin/gem
sudo ln -fs `which irb` /usr/bin/irb
sudo ln -fs `which rake` /usr/bin/rake
sudo ln -fs `which rdoc` /usr/bin/rdoc
sudo ln -fs `which ri` /usr/bin/ri
sudo ln -fs `which testrb` /usr/bin/testrb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment