I have very basic Rails 4 project (https://github.com/akutarba/rails4-debugger-xml-app)
There is a breakpoint at https://github.com/akutarba/rails4-debugger-xml-app/blob/master/app/controllers/shops_controller.rb#7.
I run it with ruby-1.9.3-p448, open http://localhost:3000/shops in browser to stop at the break point and try to get global vars (v g command)
I'm getting "*** Errno::ENOENT Exception: No such file or directory - -b"
It looks like debugger fails to evaluate $FILENAME for some reasons :(
The quick workaround for the problem would be filter $FILENAME out of list of global vars in ::Debugger::VarFunctions#var_global, but it is unclear why it is evaluated correctly in other situations.