[TxMt] Problem running ruby files with run script

Tim Wolters tim at collectiveintellect.com
Fri Jan 20 03:15:39 UTC 2006


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.

~tim





More information about the textmate mailing list