Restart Passenger Phusion using a TextMate bundle

Posted by collin
on Sunday, July 13

So I’ve recently started running my development instances using Passenger. It’s been a really nice transition, even with the extra steps of setting up a hostfile and adding an entry into an Apache config file. I know about the OS X preference pane, but I prefer to do the extra steps.

One extra step I don’t like doing is having to touch the [project_home]/tmp/restart.txt file in order to restart the application. Since I do most of my work in TextMate, I decided to write a little bundle so that I wouldn’t have to load up Terminal every time I wanted to restart my application.

You can simply hit the hotkey to restart the app. It’s project relative, so it should work for whatever rails project you happen to have loaded in TextMate.

Comments

Leave a response

  1. KeithAugust 13, 2008 @ 07:13 PM

    Great tip – thanks!

Comment