bin/ruby reports correct filename when a parse error occurs

If the parse error occurred when interpreting a file that had been required or
loaded, we would always report the initial file name we interpreted.