This took some time to find out while the logic behind is quite simple. touch foo ruby -rdebug -pi -e"puts 'prints nothing'" foo Foo does exist but has no content so we are not be able to debug this code. Would it be possible to give warning with option -rdebug or -d? - Aleksi