Ruby - ruby-debug terminating without error on 'if __FILE__ == $0'

Posted by cornjuliox on Stack Overflow See other posts from Stack Overflow or by cornjuliox
Published on 2010-03-19T22:56:25Z Indexed on 2010/03/19 23:01 UTC
Read the original article Hit count: 501

Filed under:
|
|

I'm trying to use ruby-debug to debug this script I've written and it keeps terminating on the line, 'if FILE == $0'. I step through each line before it, and then when it gets to that line it just quits. No errors or anything, it just quits. How do I fix this?

© Stack Overflow or respective owner

Related posts about ruby

Related posts about debug