Created
June 17, 2011 12:02
-
-
Save gderosa/1031288 to your computer and use it in GitHub Desktop.
Debian Alternatives for ruby1.9.1
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
| # Adapted from http://kangaroobox.blogspot.com/2009/12/switching-ruby-platforms-on-debian.html | |
| update-alternatives --install /usr/bin/ruby ruby /usr/bin/ruby1.9.1 400 \ | |
| --slave /usr/share/man/man1/ruby.1.gz ruby.1.gz \ | |
| /usr/share/man/man1/ruby1.9.1.1.gz \ | |
| --slave /usr/bin/ri ri /usr/bin/ri1.9.1 \ | |
| --slave /usr/bin/irb irb /usr/bin/irb1.9.1 | |
| # --slave /usr/bin/gem gem /usr/bin/gem1.9.1 | |
| # removed: it's a master alternative now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment