How to Install Ruby 2.0 With RVM So I've finally set aside some time to play with Ruby 2.0 and it's great fun! Here's what I had to do to install Ruby 2 on my iMac (iOS 10.8.2) using RVM and Homebrew First off, there were a few of the library dependencies I didn't have on my machine (It's a pretty new setup) so I had to install them: $ brew install autoconf $ brew install pkg-config $ brew install libyaml $ brew install readline $ brew install libxml2 $ brew install libxslt You may already have some of these installed, or there may be dependencies that you still require - don't worry, RVM will let you know when you run the next step: $ rvm install ruby-2.0.0-p0 To use this version, simply type $ rvm use ruby-2.0.0 ... or include this in your .rvmrc file $ rvm use ruby-2.0.0 You can now start to make use of Ruby 2's cool new features, including named parameters: def foo(bar, name: "Foo bar") puts "#{bar} with #{name}" end foo("sing", name: "Cher") # => "sing with Cher" Using Ruby 2.0 With Rails Ruby 2.0 seems to be fully backwards compatible so it should be safe to use with Rails 3 apps. We're already running it on two apps we're developing at the moment and haven't come across any problems at all!. Here are some more of the new features in Ruby 2