From: Mark Moseley Date: 2009-09-16T23:25:08+09:00 Subject: Errno::ENOENT when evaluating $FILENAME in 1.9.x Given foo.rb with the single line: puts $FILENAME Run, under Ruby 1.9: ruby foo.rb asdf Gets error: foo.rb:1:in `
': No such file or directory - asdf (Errno::ENOENT) This duplicates the way the Rails passes the webserver name (ie "script/server webrick") Under Ruby 1.8.6, I get the output "-"; no exception. Is this a problem with Ruby 1.9, Rails, or something else? -- Posted via http://www.ruby-forum.com/.