Yes - It was suggested :

"Try going into TM's preferences, over to the Advanced section, and  
setting a variable called TM_RUBY to /opt/bin/ruby (double-check me  
on the location though).

Hope that helps.

James Edward Gray II"


And the result was:

"Actually, I had already tried the "TM_RUBY" trick - tried it again
with each of these (one at a time)

1.  /opt/local/bin/ruby

2. /usr/bin/ruby

3. /usr/local/bin/

This is the same error message for all three:

/Applications/TextMate.app/Contents/SharedSupport/Support/lib/
web_preview.rb:70:in `html_head': undefined method `+' for
nil:NilClass (NoMethodError) from /Applications/TextMate.app/Contents/
SharedSupport/Support/lib/scriptmate.rb:186:in `emit_header' from /
Applications/TextMate.app/Contents/SharedSupport/Support/lib/
scriptmate.rb:91:in `emit_html' from /Applications/TextMate.app/
Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/
run_script.rb:72"


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?



On 4/24/07, James Edward Gray II <james@grayproductions.net> wrote:
On Apr 23, 2007, at 8:52 AM, charles snyder wrote:

> "/bin/bash: line 4: Sat Apr 21 17:18:00 CDT 2007 /usr/local/bin/ruby:
> No such file or directory"

Charles, when we discussed this problem off-list, you initially
showed this error and I assumed it was a loading Ruby issue.  As we
kept talking though, you showed an unrelated error inside TextMate's
web_preview.rb library.  You might want to share that second error
message here.  Also, can you tell us under which circumstances you
see which errors?

James Edward Gray II


______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate