Upgrade to Rails 2.2.0
As a side benefit, fix an (non-user-visible) bug in display_s5(). Also fixed a bug where removing orphaned pages did not expire cached summary pages.
This commit is contained in:
parent
39348c65c2
commit
7600aef48b
827 changed files with 123652 additions and 11027 deletions
2
vendor/rails/railties/lib/commands/runner.rb
vendored
2
vendor/rails/railties/lib/commands/runner.rb
vendored
|
@ -42,7 +42,7 @@ if code_or_file.nil?
|
|||
$stderr.puts "Run '#{$0} -h' for help."
|
||||
exit 1
|
||||
elsif File.exist?(code_or_file)
|
||||
eval(File.read(code_or_file))
|
||||
eval(File.read(code_or_file), nil, code_or_file)
|
||||
else
|
||||
eval(code_or_file)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue