Skip to content

Instantly share code, notes, and snippets.

@mariovisic
Forked from jfirebaugh/gist:4007524
Created November 7, 2012 10:10
Show Gist options
  • Save mariovisic/4030653 to your computer and use it in GitHub Desktop.
Save mariovisic/4030653 to your computer and use it in GitHub Desktop.
Installing Ruby 2.0.0-preview1 with RVM on OS X

Ruby 2.0.0-preview1 OSX RVM Install Instructions

First, make sure that you have the most recent rvm. Several bugs with 2.0.0-preview1 have recently been fixed.

Second, the openssl that comes with MacOS is too old for Ruby 2.0. You need to install a newer one with homebrew or the rvm pkg command.

brew update
brew install openssl
brew install libyaml

export CC=clang

rvm get head
rvm install 2.0.0-preview1 --with-openssl-dir=`brew --prefix openssl`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment