Skip to content

Instantly share code, notes, and snippets.

@tsabat
Last active December 22, 2015 07:49
Show Gist options
  • Save tsabat/6440654 to your computer and use it in GitHub Desktop.
Save tsabat/6440654 to your computer and use it in GitHub Desktop.
ruby on 13.4

for capistrano demo, the following will install a modern ruby env. I just had to do this for the new db server we set up. rbenv is preferable because ruby gets patched a lot for vulnerabilities, but this will work.

sudo apt-get install build-essential -y
sudo apt-get install libxslt-dev libxml2-dev
sudo apt-get install ruby1.9.1-full -y
sudo update-alternatives --config ruby
gem install nokogiri --pre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment