MacRuby DoJo (道場)

Constructs the MacRuby Environment


The list below describes requirements for developing application using MacRuby.

  • Mac OS X 10.6.8 later
  • Xcode 4.2 or Xcode 4.3
  • MacRuby
  • BridgeSupport Preview 3 (If you use MacRuby on Mac OS X 10.6.8)

Install Xcode

You could install Xcode from Mac App Store. Launch Mac App Store. After that, search by keywords of “Xcode” at search field on top of right corner.


You could install Xcode easily from the search results.


If you use Mac OS X 10.6.8, Xcode 4.2.x will be installed. And if you use Mac OS X 10.7.x, Xcode 4.3.x will be installed.

If you had previously installed an older version (as Xcode 4.2.x) and installed Xcode 4.3.x at this time, recommend to be running the following command on the Terminal.

$ sudo xcode-select -switch /Applications/

Install Command Line Tools

Since Xcode 4.3, Command Line Tools (compiler, etc) became to additional package. Install Command Line Tools also.

  1. Choose a [Xcode]->[Preferences…] form Xcode’s menu to display Preferences.
  2. Choose a Downloads tab like the following figure, and install Command Line Tools.


Install MacRuby

Next step, install MacRuby.


MacRuby 0.10 has been released now. However, unfortunately, it does not support for Xcode 4.3. Therefore, you should install the nightly build and could download it from The nightly build which has latest changes has packaged every night.


Install BridgeSupport Preview 3

For Mac OS X 10.6.8 users only, need to install BridgeSupport Preview 3. BridgeSupport is used to get information about the Framework provided by the Mac OS X. In Mac OS X 10.7 environment, it has been pre-installed. You could get BridgeSupport Preview 3 from as BridgeSupport Preview