Created
July 9, 2013 09:32
-
-
Save petems/5956008 to your computer and use it in GitHub Desktop.
Install Ruby 1.9.3 on Ubuntu without Rbenv/RVM
This file contains 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
# Install Ruby 1.9.3 | |
apt-get install -qq ruby1.9.1 ruby1.9.1-dev rubygems1.9.1 irb1.9.1 ri1.9.1 rdoc1.9.1 build-essential libopenssl-ruby1.9.1 libssl-dev zlib1g-dev | |
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/rdoc rdoc /usr/bin/rdoc1.9.1 | |
update-alternatives --config ruby | |
update-alternatives --config gem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment