I'm all about Ember.js recently

Install Ruby 2.0.0 With Rbenv (Ruby-build) on Mountain Lion

  1. You need to download the source, or use ruby-build to install it for you. I will subsequently suppose the latter.
  2. You need to configure it, compile it and copy files to the proper location:
1
RUBY_CONFIGURE_OPTS=--with-openssl-dir=`brew --prefix openssl` CONFIGURE_OPTS=--with-gcc=clang rbenv install 2.0.0-p195

You can see I installed openssl through homebrew. The ruby-build recipe downloads an openssl lib for you so only use that if you have it installed as I do.

I got the clang compiler frontend through Apple’s Command Line Tools so I’m not sure that’s needed if you have the whole Xcode package.

It really feels faster -maybe due to the improved GC-, rails starts >2 as fast as compared to plain 1.9.3, using spring in both cases.

Comments