Skip to content

Instantly share code, notes, and snippets.

@johnf
Created July 24, 2015 05:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnf/2dad31c4aac5c0a06d58 to your computer and use it in GitHub Desktop.
Save johnf/2dad31c4aac5c0a06d58 to your computer and use it in GitHub Desktop.
set -ex
# Classic ruby deps
sudo DEBIAN_FRONTEND=noninteractive apt-get --option Dpkg::Options::='--force-confnew' --quiet --force-yes --yes install build-essential libxslt1-dev libxml2-dev zlib1g-dev
# We use brightbox ppa to get ruby 2.2
sudo apt-add-repository --yes ppa:brightbox/ruby-ng
sudo apt-get --quiet --yes update
sudo DEBIAN_FRONTEND=noninteractive apt-get --option Dpkg::Options::='--force-confnew' --quiet --force-yes --yes install ruby2.2 ruby2.2-dev
sudo gem install --no-ri --no-rdoc bundler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment