[TxMt] Problem with RubyMate

Simon Ruderich simon at ruderich.com
Mon Nov 20 17:13:43 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


On 17.11.2006, at 05:02, Alexander Ross wrote:

> Simon,
>
> These aren't really errors, they are just warnings.  When ruby is  
> run with the switch '-w' it writes all warnings to stderr.  Did you  
> perchance set TM_RUBY?

I set export RUBYOPT="w" in my .bash_profile file so I get all  
warnings from my scripts.

> That said, we were including escape.rb twice, and this has been fixed.

Thanks, your fix has fixed most of the warnings, but I still get  
following ones with the newest version:

/Users/simonruderich/Library/Application Support/TextMate/Bundles/ 
Ruby.tmbundle/Support/RubyMate/run_script.rb:8: warning: already  
initialized class variable @@args
/Users/simonruderich/Library/Application Support/TextMate/Bundles/ 
Ruby.tmbundle/Support/RubyMate/run_script.rb:39: warning: already  
initialized class variable @@lang
/Users/simonruderich/Library/Application Support/TextMate/Support/lib/ 
scriptmate.rb:44: warning: instance variable @args not initialized

It would be nice if you could fix these warnings too.

> Thank you!
>
> - Alex

Thanks for your response,
Simon
- ----
 > privacy is necessary
 > using http://gnupg.org
 > public key id: 0x6115F804EFB33229 http://ruderich.com/ 
simonruderich.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFYeJHYRX4BO+zMikRCuKzAJ0X7JoLgN/W1BMTd3jyKtNiuq5l/QCeMtVY
L9R/KxK4b71CUSKkHahnetQ=
=HlLx
-----END PGP SIGNATURE-----



More information about the textmate mailing list