Guest User

Untitled

a guest
Nov 21st, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #!/usr/bin/env bash
  2. apt-get -y update
  3. apt-get -y upgrade
  4. apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
  5. cd /tmp
  6. wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz
  7. tar -xvzf ruby-1.9.3-p194.tar.gz
  8. cd ruby-1.9.3-p194/
  9. ./configure --prefix=/usr/local
  10. make
  11. make install
  12. gem install chef ruby-shadow --no-ri --no-rdoc
Add Comment
Please, Sign In to add comment