Skip to content

Instantly share code, notes, and snippets.

@diegommarino
Created April 3, 2017 19:15
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 diegommarino/ea6e6067fb3b5259705725c37345dbfd to your computer and use it in GitHub Desktop.
Save diegommarino/ea6e6067fb3b5259705725c37345dbfd to your computer and use it in GitHub Desktop.
Install rvm

https://gorails.com/setup/ubuntu/14.04

sudo apt-get update

sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev

sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev

gpg2 --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3
    
curl -L https://get.rvm.io | bash -s stable

source ~/.rvm/scripts/rvm

rvm install 2.1.5

rvm use 2.1.5 --default

echo "gem: --no-ri --no-rdoc" > ~/.gemrc

gem install bundler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment