Skip to content

Instantly share code, notes, and snippets.

@rafaelrinaldi
Last active January 28, 2017 16:39
Show Gist options
  • Save rafaelrinaldi/168d93bc78f24cf796ce to your computer and use it in GitHub Desktop.
Save rafaelrinaldi/168d93bc78f24cf796ce to your computer and use it in GitHub Desktop.
Steps to configure my local Ruby env after upgrading to Yosemite
  1. Update Xcode command line tools (it should take a while)
$ xcode-select --install
  1. Update (Homebrew and) PhantomJS
$ brew update && brew upgrade phantomjs
  1. Update Ruby build
$ brew upgrade ruby-build
  1. Recompile Ruby
$ cat .ruby-version # 2.1.1
$ CC=gcc rbenv install 2.1.1 # confirm installation, it'll recompile Ruby
  1. Reset rbenv
$ rbenv rehash && rbenv local 2.1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment