Skip to content

Instantly share code, notes, and snippets.

@tbuehlmann
Created October 11, 2010 14:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbuehlmann/620574 to your computer and use it in GitHub Desktop.
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)
$ 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