Ruby for the Objective-C Runtime
What Is MacRuby?
Note: Due to Apple’s abandonment of the Objective-C Garbage Collector (libauto) which MacRuby relied heavily on, future development of MacRuby is on an indefinite hiatus. If you would like to develop applications for iOS and OS X please check out RubyMotion, the spiritual successor to the MacRuby project.
MacRuby is an implementation of Ruby 1.9 directly on top of Mac OS X core technologies such as the Objective-C runtime and garbage collector, the LLVM compiler infrastructure and the Foundation and ICU frameworks. It is the goal of MacRuby to enable the creation of full-fledged Mac OS X applications which do not sacrifice performance in order to enjoy the benefits of using Ruby.
If you’d rather build your own MacRuby, simply clone the MacRuby repository from Github and follow the instructions from the README.
After installing, MacRuby is available from the command-line as
macruby. It also comes with project templates for use with Xcode. Create your first application today!
Get In Touch
MacRuby on iOS?
Wait no longer! RubyMotion is a commercial toolchain for iOS development based on MacRuby, created by the MacRuby author. Check it out!