Rails project launcher

Journal entry
April 25, 2008

Jesper asked on the Copenhagen Ruby Brigade mailing list what scripts and tricks use to launch their environment when developing Rails projects on OS X.

iTerm shell script

A bunch of people pointed to this handy iTerm shortcut, which uses Applescript invoked from a shell script to start the environment. I use roughly the same approach, however it’s wrapped in an Automator workflow, which I launch using Quicksilver.

Automator workflow

Basically what the workflow does is ask me to pick a project, then it fetches the most recent version of the application, runs any missing migrations, starts script/server and autotest, launches TextMate with the project source, and iTerm with the most recent commit messages, the test log and the development log. This saves me so many keypresses.

It’s a modified version of a workflow I found somewhere on the net. Unfortunately I cannot find the original source now, so I cannot even give credit where it’s due. Download it here.

View it in action

You can see it in action below (the text is terribly hard to read unfortunately, but it shows how the process looks at least):


Launch Rails project from Jakob Skjerning on Vimeo.

Categories
,
Selling out
Did you know?
Jakob is an independent web application developer who builds awesome stuff for the web. You can hire him to build awesome stuff for you.

Comments and Trackbacks

Jesper Rønn-Jensen May 7, 2008

Thanks for posting Jakob.
First of all, I can't get that automation file to run -- maybe you can show me tomorrow at our Copenhagen.rb meetup.

One other thing: could you maybe add this (unzipped) to the Copgenhagen.rb code project? (or if you have a better place in mind). I could expect that people would like to have a versioned place for contributions.

Commenting on this entry has been closed.