Thanks for the suggestion, unfortunately $HOME is set up in tsh and bash and restarting TM didn't help.

I also noticed I get a similar error when trying to execute some ruby code with command R.

/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:103:in `emit_html' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/run_script.rb:72

Dave.

On 1 May 2007, at 10:08, Ciarán Walsh wrote:

On 1 May 2007, at 09:53, Dave Baldwin wrote:

web_preview.rb:70 in 'html_head' : undefined method '+' for nilClass

If I recall correctly this happens when $HOME isn't set. Try restarting TM, or perhaps logging out if necessary.

______________________________________________________________________
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