[TxMt] Problem running ruby files with run script

Sune Foldager cryo at cyanite.org
Fri Jan 20 13:22:56 UTC 2006


On 20/01/2006, at 4:15, Tim Wolters wrote:

> I'm using the ruby run script cmd-r and have found that I can't get
> statements inside the following block:
> If __FILE__ == $0
> Unless I extend it to:
> If __FILE__ == $0 || File.basename($0) =='tmruby.rb'
> Any help is much appreciated.

Right, this is a bug which I promised to fix but didn't yet. I'll do  
it now.

-- Sune.




More information about the textmate mailing list