Skip to content

Instantly share code, notes, and snippets.

@ywjno
Created October 4, 2013 14:43
Show Gist options
  • Save ywjno/6827094 to your computer and use it in GitHub Desktop.
Save ywjno/6827094 to your computer and use it in GitHub Desktop.
install ruby by uesd ruby-install
#!/usr/bin/env bash
wget -O ruby-install-0.3.0.tar.gz https://github.com/postmodern/ruby-install/archive/v0.3.0.tar.gz --no-check-certificate
tar -xzvf ruby-install-0.3.0.tar.gz
cd ruby-install-0.3.0/
sudo make install
sudo ruby-install -i /usr/local/ ruby
gem install chef ruby-shadow librarian-chef --no-ri --no-rdoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment