Skip to content

Instantly share code, notes, and snippets.

@pascalduez
Last active June 5, 2016 03:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pascalduez/6939142 to your computer and use it in GitHub Desktop.
Save pascalduez/6939142 to your computer and use it in GitHub Desktop.
Installing Ruby 2.0 with rbenv on OS X 10.8 Mountain Lion

// For Sass Compass
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

  • Install X-code Command Line Tools
  • Install Homebrew
$ brew update
$ brew install rbenv
$ brew install ruby-build
$ rbenv install 2.0.0-p247
$ rbenv rehash
$ echo 'export PATH="$HOME/.rbenv/versions/2.0.0-p247/bin:$PATH"' >> ~/.zshrc
$ echo 'eval "$(rbenv init -)"' >> ~/.zshrc
$ source .zshrc
$ ruby --version
$ gem install bundler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment