Skip to content

Setting Up a Mac OS X Build Environment with MacPorts

lylejohnson edited this page Sep 13, 2010 · 3 revisions

The instructions on this page tell you what you need to do to be able to build FXRuby from source code on Mac OS X, with the help of MacPorts.

Install Xcode Developer Tools

In order to compile anything, and before you can install MacPorts itself, you’ll need to first install Apple’s Xcode Developer Tools. These are included in the operating system installation DVDs (as an extra), or you can download them for free from Apple’s Developer Center.

Install MacPorts

Download the appropriate installer package from the MacPorts downloads page and get it up and running.

Install the FXRuby port

By installing the rb-fxruby port, you will automatically install FOX, FXScintilla, Ruby, and a host of other dependencies required for the build environment. This will take awhile to complete!

sudo port install rb-fxruby