lib/rails/commands/runner.rb in railties-4.0.3 vs lib/rails/commands/runner.rb in railties-4.0.4.rc1

- old
+ new

@@ -48,7 +48,7 @@ exit 1 elsif File.exist?(code_or_file) $0 = code_or_file eval(File.read(code_or_file), nil, code_or_file) else - eval(code_or_file) + eval(code_or_file, binding, __FILE__, __LINE__) end