RubyMotion Brings Ruby to iOS

Ruby Motion Logo

RubyMotion is a new development toolchain that allows you to build iOS apps using Ruby created by Laurent Sansonetti, a former Apple engineer and contributor to the MacRuby project. It has garnered a lot of attention the past few weeks and some detailed reviews have already been written:

The MacRuby project (which is an open-source project  supported by Apple) allows developers to create Mac OS X apps using ruby, however it doesn’t work with iOS. MacRuby relies on the Garbage Collected (GC) Objective-C runtime that isn’t available on iOS. With the introduction of ARC for iOS and Mac OS X Apple will likely drop support for the garbage collected (GC) runtime in a future version of Mac OS X and won’t bother to bring it to iOS. This move by Apple called into question the future of MacRuby for OS X and made the prospect of developing iOS apps using ruby look even more remote.

Enter RubyMotion. It takes a different approach than MacRuby and based on early results looks to be a good solution for rubyists looking to build iOS apps.  However, the lack of support for creating UI elements in Interface Builder, dependence on Apple’s developer tools and SDKs, and other risks are being called into question already as well. It will be interesting to see Apple’s reaction to RubyMotion, especially considering that Sansonetti is a former employee and MacRuby contributor. I’ve bought my copy and am hoping the project succeeds and finds its way back to OS X too.

Steven Huey

Steven Huey

Senior Software Engineer at Art & Logic
Mac and iOS developer and project manager at Art+Logic. Twitter | GitHub
Steven Huey
@NumaanAshraf @getpostman Thank you, I’ll send an email. The app package is in my Applications folder. - 3 weeks ago
Steven Huey

Tags:

Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

2 Comments

  1. Chris

    You can use Interface builder in Rubymotion. Xib files in the resources/ folder are automatically compiled when you run the app.

    • Steven Huey

      Chris – XIB files will get compiled by the toolchain, but you don’t get the same integration between Interface Builder and Objective-C with RubyMotion that you do with Xcode.

Trackbacks/Pingbacks

  1. Another Look at RubyMotion | Art & Logic Software Development Blog - [...] few months ago I took a look at RubyMotion and wondered if it would garner enough developer interest to be…
  2. Greatest Hits (Vol. 1) | Art & Logic Blog - […] RubyMotion Brings Ruby to iOS […]