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.
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.
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.
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.
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.