Ok, here's the official answer:

Rails -> Database -> Migrate to Current is b0rked in TextMate build 1324. The web preview stuff got updated a couple days before build 1324 was put together, but this command didn't get updated until almost 3 weeks later.

If you don't want to get an error when running this command, you need a subversion checkout of the bundles. If you don't have one already, see <http://macromates.com/wiki/Main/SubversionCheckout>. If you do have one, make sure it's updated to at least r6193 (though obviously HEAD is best).

Make sure you tell TextMate to reload bundles (or probably, restart TextMate, or you won't get the theme changes, or any changes to Dialog.tmPlugin, if any were made).

If you can reproduce this error with any other command, or after following these steps, I will be extremely surprised.

On Nov 17, 2006, at 3:24 AM, Erik van Eykelen wrote:

I get this error:


   "bash: line 1: selected_theme: command not found cat:

   /Users/{myname}/Library/Application

   Support/TextMate/Support/css/

   webpreview.css: No such file or directory"


when running a Ruby script from Textmate (build 1324, and today's (Nov 17) SVN

checkout for the bundles).


Does anyone have a hint?


-- 
Kevin Ballard
http://kevin.sb.org
kevin@sb.org
http://www.tildesoft.com