October 21, 2014

Upgrading to Yosemite - Rails development

It was very simple to upgrade to Yosemite from Mavericks.

Once the OSX upgrade is done, follow these steps to get back to action.

1) Open XCode to install the components
2) Install command line tools
        xcode-select --install
3) Reinstall Ruby
     CC=/usr/bin/gcc  rbenv install 2.1.2
4) Install bundler, libv8 and therubyracer gems
      gem install bundler
      gem install libv8 -v '' -- --with-system-v8
      gem install therubyracer -v '0.12.1'

If you are using RubyMine, you have to install Java. Apple prompted me to download this when I opened RubyMine.