CocoaPods .. RubyGems for Objective C.
So I'm just starting to get into MacRuby... I'm getting stoked on the idea of one language to do it all... but today, after talking with some people in #MacRuby (freenode) and reading this, I realize that moving forward with MacRuby seems like a bad idea.. I really like the idea of being able to use ruby for Native app development (MacRuby), iOS app development using (Motion) and web app development (Rails).. obviously.. it makes sense. But with it looking like ruby is turning red-headed in the eyes of Apple... probably not going to go much farther with it.
So what next.. Even though it has nothing to do with ruby, I stumbled upon CocoaPods.. It's basically RubyGems for Cocoa apps. I just tried it and it's pretty bad ass.. you create a "Podfile" (sound familiar) in your root project folder which defines the pods you want to use, just as a Gemfile would, as well as the target platform and version and run "pod install". It creates an Xcode workspace with all of the dependencies set up for you. It's pretty sweet!
CocoaPods is actually distributed and installed as a ruby gem. Here's how you do it:
$ [sudo] gem install cocoapods $ pod setup
(taken directly from the cocoapods.org main install page)
Once you do that, you're good to go. It doesn't keep the dream of one unified language for all platforms alive, but it looks like it will definitely make life easier. Try it, you might like it.