Created
October 11, 2010 14:15
-
-
Save tbuehlmann/620574 to your computer and use it in GitHub Desktop.
Installing Ruby 1.9.2-p0 on Ubuntu 10.10 (ubuntu-10.10-desktop-amd64)
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
$ sudo apt-get install build-essential zlib1g zlib1g-dev libruby1.9.1 libxml2 libxml2-dev libxslt1-dev | |
$ sudo apt-get build-dep ruby1.9.1 | |
$ wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.bz2 | |
$ tar xvjf ruby-1.9.2-p0.tar.bz2 | |
Open ruby-1.9.2-p0/ext/Setup and uncomment the zlib line | |
$ ./configure | |
$ make | |
$ sudo make install | |
$ ruby -v | |
=> ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux] | |
$ gem -v | |
=> 1.3.7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment