TextMate and Rails
I've been twidling with TextMate's commands in an attempt to automate some of the common Rails commands.
Unfortunately, as far as I can tell TextMate doesn't have a way to invoke a pop-up for input (like Eclipse), so I've had to settle for sending in single arguments via selected text. So after creating a new app, I just create a setup.txt file in the project root where I can enter things like the port to start WEBrick and the names of the controllers, scaffolds, and models I want to generate.
Another issue: I've had to start WEBrick as a daemon with the -d switch; otherwise TextMate locks up. And another downside is I have to shut it down via command line after checking for it's process id. There's got to be a better way to start and stop the server from inside TextMate, but I haven't worked it out.
Here's the bundle of commands. You can unzip it to your /Users/[username]/Library/Application Support/TextMate/Bundles/ folder.
If anyone has any better versions of these commands, please let me know.