3 Sep 2012

RubyMotion is ready for the primetime

If you’ve been following the Ruby community at all over the last few months you have probably heard of RubyMotion. Quite simply put, it lets you write iPhone and iPad apps using Ruby, by compiling to a native iOS app. Out of the box, your code will look very similar to Objective-C code and use the same Cocoa Touch libraries, although it will all be Ruby. It was written by Laurent Sansonetti, the author of the MacRuby project, which it’s largely based on. I have long been intrigued by writing iOS apps, but have been put off by the steep…read more

5 Jan 2012

Hosting your own gem server, simply

So why would you want to host your own gem server? Well recently, I had to share some in-house code between different proprietary rails apps. We needed this code and all it’s dependencies to be easily installed on different development machines and we wanted to support multiples versions of the code in the Rails apps. Does this sound like a job for rubygems and bundler? Yes? Well that’s what I thought too, except for fact that for bundler to find a gem, it needs to be available in one of the sources in your Gemfile. Like I mentioned, this was…read more

8 Dec 2011

A survey of the Ruby-MongoDB landscape

There are quite a few ways to consume MongoDB using Ruby out there, so much so that it can actually be a bit confusing. In this post will attempt at giving a brief outline of all the options available to you. To decide which are the most popular mongo gems worth mentioning, I had a look at what ruby-toolbox has to say and used some of my own research and experience. It seems that most mongo gems tends to fall in one of three camps: High-level ActiveRecord/Datamapper  like: Mongomapper & Mongoid Lightweight: mongomatic & mongo_odm Native driver: The MongoDB Ruby driver Mongomapper and Mongoid The…read more