Guest User

Untitled

a guest
Oct 17th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #!/usr/bin/env bash
  2. apt-get -y update
  3. apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
  4. cd /tmp
  5. wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz
  6. tar -xvzf ruby-1.9.3-p194.tar.gz
  7. cd ruby-1.9.3-p194/
  8. ./configure --prefix=/opt/ruby-1.9.3-p194
  9. make
  10. make install
  11. ln -s /opt/ruby-1.9.3-p194 /opt/ruby
Add Comment
Please, Sign In to add comment