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,
Simon ----
privacy is necessary using http://gnupg.org public key id: 0x6115F804EFB33229 http://ruderich.com/
simonruderich.asc