Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Become root
- su root
- # Create source directory
- mkdir -p /opt/local/src
- cd /opt/local/src
- # Install build tools
- aptitude install build-essential
- # Install Ruby 1.9 dependencies
- aptitude install libffi-dev libyaml-dev libreadline-dev libssl-dev
- # Retrieve Ruby 1.9 source and build it
- wget -c ftp://ftp.ruby-lang.org:21//pub/ruby/1.9/ruby-1.9.2-p0.tar.gz
- tar xvf ruby-1.9.2-p0.tar.gz
- cd ruby-1.9.2-p0/
- ./configure --enable-shared --prefix=/opt/local
- make
- make install
- # Install latest RubyGems
- gem update --system
Add Comment
Please, Sign In to add comment