Guest User

Untitled

a guest
Jun 21st, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. # Become root
  2. su root
  3.  
  4. # Create source directory
  5. mkdir -p /opt/local/src
  6. cd /opt/local/src
  7.  
  8. # Install build tools
  9. aptitude install build-essential
  10.  
  11. # Install Ruby 1.9 dependencies
  12. aptitude install libffi-dev libyaml-dev libreadline-dev libssl-dev
  13.  
  14. # Retrieve Ruby 1.9 source and build it
  15. wget -c ftp://ftp.ruby-lang.org:21//pub/ruby/1.9/ruby-1.9.2-p0.tar.gz
  16. tar xvf ruby-1.9.2-p0.tar.gz
  17. cd ruby-1.9.2-p0/
  18. ./configure --enable-shared --prefix=/opt/local
  19. make
  20. make install
  21.  
  22. # Install latest RubyGems
  23. gem update --system
Add Comment
Please, Sign In to add comment