Created
February 24, 2013 17:44
-
-
Save gregawoods/5024770 to your computer and use it in GitHub Desktop.
Getting started with Ruby 2.0 on OS X.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# openssl (homebrew) | |
brew update | |
brew install openssl | |
# ruby 2.0 | |
curl -O ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p0.tar.bz2 | |
tar -xvf ruby-2.0.0-p0.tar.bz2 | |
cd ruby-2.0.0-p0 | |
./configure --with-opt-dir=`brew --prefix openssl` | |
make | |
make install | |
# rubygems | |
cd .. | |
curl -O http://production.cf.rubygems.org/rubygems/rubygems-1.8.25.tgz | |
tar -xvf rubygems-1.8.25.tgz | |
ruby rubygems-1.8.25/setup.rb | |
# bundler 1.3 | |
gem install bundler --pre |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanka