Skip to content

Instantly share code, notes, and snippets.

@billforward-alex
Last active March 30, 2016 11:43
Show Gist options
  • Save billforward-alex/d0b6b8a77975bb7a586e640938a24075 to your computer and use it in GitHub Desktop.
Save billforward-alex/d0b6b8a77975bb7a586e640938a24075 to your computer and use it in GitHub Desktop.
Installing Ruby

Install Rvm (lets you switch between Ruby versions)

gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
\curl -sSL https://get.rvm.io | bash -s stable

Check what Ruby versions are available

rvm list known

Install some Ruby:

rvm install ruby-1.8.7-head

Set Ruby 1.8.7 to be the one your system recruits when running ruby:

rvm use 1.8.7 --default

Confirm Ruby 1.8.7 is now in use:

ruby -v
# ruby 1.8.7 (2014-01-28 patchlevel 376) [i686-darwin14.0.0]

Probably you don't yet have the bundler gem.

gem install bundler

Now cd to this repository, and tell Bundler to grab the gems upon which we depend:

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