<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>Ok, here's the official answer:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>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.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>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 <<A href="http://macromates.com/wiki/Main/SubversionCheckout">http://macromates.com/wiki/Main/SubversionCheckout</A>>. If you do have one, make sure it's updated to at least r6193 (though obviously HEAD is best).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>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).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>If you can reproduce this error with any other command, or after following these steps, I will be extremely surprised.</DIV><BR><DIV><DIV>On Nov 17, 2006, at 3:24 AM, Erik van Eykelen wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">I get this error:</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><SPAN class="Apple-converted-space">   </SPAN>"bash: line 1: selected_theme: command not found cat:</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><SPAN class="Apple-converted-space">   </SPAN>/Users/{myname}/Library/Application</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><SPAN class="Apple-converted-space">   </SPAN>Support/TextMate/Support/css/</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><SPAN class="Apple-converted-space">   </SPAN>webpreview.css: No such file or directory"</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">when running a Ruby script from Textmate (build 1324, and today's (Nov 17) SVN</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">checkout for the bundles).</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Does anyone have a hint?</FONT></P> </BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>-- </DIV><DIV>Kevin Ballard</DIV><DIV><A href="http://kevin.sb.org">http://kevin.sb.org</A></DIV><DIV><A href="mailto:kevin@sb.org">kevin@sb.org</A></DIV><DIV><A href="http://www.tildesoft.com">http://www.tildesoft.com</A></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>