Skip to content

Instantly share code, notes, and snippets.

@gregawoods
Created February 24, 2013 17:44
Show Gist options
  • Save gregawoods/5024770 to your computer and use it in GitHub Desktop.
Save gregawoods/5024770 to your computer and use it in GitHub Desktop.
Getting started with Ruby 2.0 on OS X.
# 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
@ericlostboy
Copy link

Thanka

@davydotcom
Copy link

+1

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