[TxMt] Problem with RubyMate

Simon Ruderich simon at ruderich.com
Thu Nov 16 18:05:57 UTC 2006


Hi,
I'm using Ruby scripts with RubyMate (r6075). But even the simplest  
scripts cause many errors.
This is showed on top of the content in the output (before <html>):

/Users/simonruderich/Library/Application Support/TextMate/Support/lib/ 
escape.rb:2: warning: method redefined; discarding old e_sh
/Users/simonruderich/Library/Application Support/TextMate/Support/lib/ 
escape.rb:7: warning: method redefined; discarding old e_sn
/Users/simonruderich/Library/Application Support/TextMate/Support/lib/ 
escape.rb:12: warning: method redefined; discarding old e_as
/Users/simonruderich/Library/Application Support/TextMate/Support/lib/ 
escape.rb:17: warning: method redefined; discarding old e_url
/Users/simonruderich/Library/Application Support/TextMate/Support/lib/ 
escape.rb:24: warning: method redefined; discarding old htmlize
/Users/simonruderich/Library/Application Support/TextMate/Bundles/ 
Ruby.tmbundle/Support/RubyMate/run_script.rb:10: warning: already  
initialized class variable @@execmatch
/Users/simonruderich/Library/Application Support/TextMate/Bundles/ 
Ruby.tmbundle/Support/RubyMate/run_script.rb:11: warning: already  
initialized class variable @@execargs
/Users/simonruderich/Library/Application Support/TextMate/Bundles/ 
Ruby.tmbundle/Support/RubyMate/run_script.rb:45: warning: already  
initialized class variable @@matename
/Users/simonruderich/Library/Application Support/TextMate/Bundles/ 
Ruby.tmbundle/Support/RubyMate/run_script.rb:46: warning: already  
initialized class variable @@langname

And this error in the "normal" output:

/Users/simonruderich/Library/Application Support/TextMate/Support/lib/ 
scriptmate.rb:49: warning: instance variable @args not initialized

Even with these errors the script works.
I'm using the newest svn checkout of all data.

I also noticed that the Ruby method e_sh is available in a Bundle  
script even if lib/escape.rp is not loaded. Maybe there could be a  
relation.

Thanks for all information and ideas,
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: error.txt
URL: <http://lists.macromates.com/textmate/attachments/20061116/bf21d4ad/attachment.txt>
-------------- next part --------------
Simon
----
 > privacy is necessary
 > using http://gnupg.org
 > public key id: 0x6115F804EFB33229 http://ruderich.com/ 
simonruderich.asc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://lists.macromates.com/textmate/attachments/20061116/bf21d4ad/attachment.sig>


More information about the textmate mailing list