[TxMt] Re: Errors running Ruby in Textmate

Jonathan Waddilove jonathan at waddilove.net
Tue Feb 28 16:47:55 UTC 2006


Allan,
Thanks for the response. I'm using: RubyMate r2496 running Ruby v1.8.2.

Once I get this problem it's solid for any script until I recycle TM. 
I'll try a few experiments and see if I can get a repeatable error...
Jonathan


Allan Odgaard <throw-away-1 at macromates.com>
wrote:>On 24/2/2006, at 15:01, Jonathan Waddilove wrote:
>
>> 	=
>/Applications/Tools/TextMate/TextMate.app/Contents/SharedSupport/=20
>> Bundles/Ruby.tm	bundle/Support/tmruby.rb:115:in `sub': wrong =20
>> argument type nil
>
>What revision of RubyMate is this (it=92s stated on the first line of =20=
>
>the output)?
>
>> Quitting and restarting TM bypasses the problem, but it would be =20
>> good to
>> have it fixed! I'm on OS X 10.4.5, I'm willing to provide more info if
>> that helps...
>
>Relaunching TM fixes it? That=92s rather strange, seeing how a new Ruby =20=
>
>interpreter is started for each =93Run=94.
>
>But at least a script that fails is needed, and how many times =20
>roughly you need to run it, before it fails.
>
>Also, when it does fail, does running another script also fail? Try =20
>e.g. just New Document, switch to Ruby and cmd-R (to run an =93empty=94 =20=
>
>script).
>
>



-- 
- Jonathan






More information about the textmate mailing list