[TxMt] Re: (NoMethodError) with TODO Bundle

tnyplz tnyplz at gmail.com
Sat Jan 10 06:40:07 UTC 2009




tnyplz wrote:
> 
> I'm getting the following error when I try to run the TODO Bundle  
> "Show TODO List"  I can't figure out what it means.
> 
> /opt/local/lib/ruby/1.8/erb.rb:354:in `trim_line2': private method  
> `scan' called for #(NoMethodError) from /opt/local/lib/ruby/1.8/erb.rb: 
> 311:in `call' from /opt/local/lib/ruby/1.8/erb.rb:311:in `scan' from / 
> opt/local/lib/ruby/1.8/erb.rb:534:in `compile' from /opt/local/lib/ 
> ruby/1.8/erb.rb:702:in `initialize' from /Applications/TextMate.app/ 
> Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:52:in  
> `new' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/ 
> TODO.tmbundle/Support/todo.rb:52
> 
> I'm running a macports version of ruby (ruby 1.8.7 (2008-08-11  
> patchlevel 72) [i686-darwin9])
> 
> 

I think it has something to do with the TM_BUNDLE_SUPPORT.

According to http://manual.macromates.com/en/bundles#support_folder.html if
I do 

echo "$TM_SUPPORT_PATH"

I should get 

/Library/Application Support/TextMate/Support

but instead I don't get anything.  

The bundle gets errors when trying to find
"#{ENV['TM_BUNDLE_SUPPORT']}/template_html_header.rhtml"

which can be found on my system on 
/Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support


Could this be the issue?

-- 
View this message in context: http://www.nabble.com/%28NoMethodError%29-with-TODO-Bundle-tp21346135p21385481.html
Sent from the textmate users mailing list archive at Nabble.com.




More information about the textmate mailing list