Yes - It was suggested :<br><br><p><font class="fixed_width" face="Courier, Monospaced">"Try going into TM's preferences, over to the Advanced section, and <br> setting a variable called TM_RUBY to /opt/bin/ruby (double-check me
<br> on the location though). <br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">Hope that helps. <br> </font></p><font class="fixed_width" face="Courier, Monospaced">James Edward Gray II"<br><br>
<br>And the result was:<br><br></font><font class="fixed_width" face="Courier, Monospaced">"Actually, I had already tried the "TM_RUBY" trick - tried it again <br> with each of these (one at a time) <br> </font>
<p><font class="fixed_width" face="Courier, Monospaced">1. /opt/local/bin/ruby <br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">2. /usr/bin/ruby <br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">
3. /usr/local/bin/ <br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">This is the same error message for all three: <br> </font></p><font class="fixed_width" face="Courier, Monospaced">/Applications/TextMate.app/Contents/SharedSupport/Support/lib/
<br> web_preview.rb:70:in `html_head': undefined method `+' for <br> nil:NilClass (NoMethodError) from /Applications/TextMate.app/Contents/ <br> SharedSupport/Support/lib/scriptmate.rb:186:in `emit_header' from /
<br> Applications/TextMate.app/Contents/SharedSupport/Support/lib/ <br> scriptmate.rb:91:in `emit_html' from /Applications/TextMate.app/ <br> Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/ <br> run_script.rb:72"
<br><br><br>I know you can set the $PATH variable in several places (.profile, .bashrc). Where is the 'definitive' place to reset it and is the order of precedence left to right by colon delimiters, where it stops looking when it finds the file?
<br><br><br></font><br><div><span class="gmail_quote">On 4/24/07, <b class="gmail_sendername">James Edward Gray II</b> <<a href="mailto:james@grayproductions.net">james@grayproductions.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Apr 23, 2007, at 8:52 AM, charles snyder wrote:<br><br>> "/bin/bash: line 4: Sat Apr 21 17:18:00 CDT 2007 /usr/local/bin/ruby:<br>> No such file or directory"<br><br>Charles, when we discussed this problem off-list, you initially
<br>showed this error and I assumed it was a loading Ruby issue. As we<br>kept talking though, you showed an unrelated error inside TextMate's<br>web_preview.rb library. You might want to share that second error<br>
message here. Also, can you tell us under which circumstances you<br>see which errors?<br><br>James Edward Gray II<br><br><br>______________________________________________________________________<br>For new threads USE THIS:
<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>(threading gets destroyed and the universe will collapse if you don't)<br><a href="http://lists.macromates.com/mailman/listinfo/textmate">
http://lists.macromates.com/mailman/listinfo/textmate</a><br></blockquote></div><br>