IT IS HERE! Get Smashing Node.JS on Amazon Kindle today!
Show Posts
← Back to homepage

I recently upgraded to OSX 10.9 Developer Preview announced at the WWDC 2013. I highly recommend trying it out if you’re enrolled in the Mac Developer program and want to benefit from lots of substantial speed, security and reliability gains.

The most notable changes are around scrolling performance and the support of multiple displays and fullscreen applications. The focus on productivity improvements over eye-candy is not coincidental: iOS is clearly the operating system for day-to-day consumption, and the Mac for professional production and creation.

I came across a few problems trying to make my existing development environment work, and I’ve documented the solutions here.

Making Vagrant work

OSX now comes with an updated ruby:

∴ ~ /usr/bin/ruby --version
ruby 2.0.0p195 (2013-05-14 revision 40734) [universal.x86_64-darwin13]

To make Vagrant work on 10.9 I had to rollback to Ruby 1.9 after finding out gem install vagrant was failing. The easiest and safest way to do this is with brew, since it will install ruby in an isolated location.

∴ ~ brew install ruby

After running this, we need to make sure that the 1.9 version takes precedence over the system one in your path. Edit your profile like so:

export PATH=/usr/local/Cellar/ruby/1.9.3-p286/bin:/usr/local/sbin:/usr/local/bin:$PATH

Notice that in my case the installed version is 1.9.3-p286, it might be slightly different by the time you install it. Make sure the path is correct when you edit your PATH.

Now you can install your favorite ruby gems again without problems:

∴ ~ gem install vagrant

For the particular case of making Vagrant work on 10.9, you’ll also have to re-install VirtualBox.

Making Divvy work

All applications that required enabling support for assistive devices in the Accesibility preferences pane will stop working when you upgrade. Since this setting could be used in malicious ways by installed applications to gain control over the entire system, it’s been reset and now has to be configured in an app-per-app basis:

Make sure to unlock the pane with your administrator password, and re-enable access to your favorite apps.

Your thoughts?

About Guillermo Rauch:

CTO and co-founder of LearnBoost / Cloudup (acquired by Automattic in 2013). Argentine living in SF.