[TxMt] Ruby "Run Script" and RubyCocoa
Chris Thomas
chris at cjack.com
Thu Jun 22 04:12:36 UTC 2006
On Jun 21, 2006, at 9:43 PM, Charilaos Skiadas wrote:
> I've been just trying out RubyCocoa, and I am having problems
> running some of the examples from within TextMate. The "Run Script"
> command doesn't seem to work properly, for instance with the
> "HelloWorld.rb" example.
The 'if $0 == __FILE__' idiom doesn't seem to be working with
RubyMate. In HelloWorld.rb, replace "$0 == __FILE__" with "1".
Chris
More information about the textmate
mailing list