Skip to content

Missing MacRuby Project Template

After installing MacRuby 0.2 I tried to follow the tutorial available online. However, I discovered XCode 3.1 didn’t display the “MacRuby Application” project template the way the tutorial indicated it should.

I spoke to MacRuby developer lrz on #ruby-osx yesterday, and he was kind enough to send me an empty MacRuby project that can be used if you are unable to get the project template to work. Note that when you rename the project you need to search through and replace all the old references to the project name with your own project name. You can download this blank project here:

New MacRuby Project

Today, however, user lachie on #ruby-osx was able to find a more direct fix for this problem. If you have XCode 3.1 and have trouble finding the project template he found that all you had to do was move the “MacRuby Application” folder from here:

/Library/Application Support/Developer/3.0/Xcode/Project Templates/Application/MacRuby Application

In my case this looked like this:

to here:

/Users/YOUR_USER_NAME/Library/Application Support/Developer/Shared/Xcode/Project Templates/Application/MacRuby Application

Which in my case looked like:


And when next booted up XCode 3.1 I found the “User Templates” category which listed the new option of “MacRuby Application” looking like this:


I’ll update this posting if I hear of any better ways of doing this or find that new releases of MacRuby remove the need to do this. My warm thanks to both lrz and lachie.


  1. Dr Nic wrote:

    Ooh thanks for documenting this.

    Monday, June 16, 2008 at 3:33 am | Permalink
  2. Thanks! was wondering about this myself.

    Wednesday, July 16, 2008 at 1:25 pm | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *