Blue Flavor

Filament by Tom Watson

Setting up Rails on OS X

November 17th, 2006 at 4:05 p.m.

From my experience, there are really two good ways to get Rails setup on OS X. Locomotive or following Dan Benjamin’s tutorial over at Hive Logic. Each has there benefits and drawbacks for people who are just getting involved with Rails or for those who bought Agile web Development with Rails and are itching to learn a bit more. It’s a frustrating thing that web developers face—How much setup work do I have to do to before I can just start working?

This is why I thought Locomotive would be my savior. And for the most part it is. It’s simple to use, straight forward enough to get rolling with Rails quickly, and easy to delete if you decided becoming a Rails guru isn’t for you. You just download the package, launch the application and you can get a test rails app going. It even has a nice option to setup Rails if you have an existing application or have downloaded one off the web and want to test it out.

Then there’s Dan Benjamin’s tutorials. I’ve used them but to be honest I’m putting all my faith in his expertise and basically just copying and pasting his stuff right into the terminal. Though there’s some distinct advantages to going through a fairly uncomplicated process especially after you follow his subversion setup as well. It just makes following a lot of online tutorials easier because you don’t have to deal with the Locomotive element and when they recommend installing stuff with subversion you can follow their steps exactly. I found installing gems easier after going through this setup method as well. Locomotive has these “bundles” but I haven’t played with them at all.

After trying out both I see it more as a continuum. First you play around using Locomotive, then when you find it restricting, go with the straight forward tutorials from Dan. Regardless of what choice you make it’s about a million times easier to get things setup and running with Rails then it was a few years ago when neither of these resources were available and I was trying to setup everything.

Does anyone else have any tips for working with Rails on OS X?

Tom Watson

More Information