mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-29 13:28:49 +01:00
Vendoring Rails 2.3.5
This commit is contained in:
parent
3e83d19299
commit
f8779795ce
943 changed files with 56503 additions and 61351 deletions
8
vendor/rails/railties/lib/console_app.rb
vendored
8
vendor/rails/railties/lib/console_app.rb
vendored
|
|
@ -1,4 +1,5 @@
|
|||
require 'action_controller/integration'
|
||||
require 'active_support/test_case'
|
||||
require 'action_controller'
|
||||
|
||||
# work around the at_exit hook in test/unit, which kills IRB
|
||||
Test::Unit.run = true if Test::Unit.respond_to?(:run=)
|
||||
|
|
@ -23,8 +24,7 @@ end
|
|||
#reloads the environment
|
||||
def reload!
|
||||
puts "Reloading..."
|
||||
dispatcher = ActionController::Dispatcher.new($stdout)
|
||||
dispatcher.cleanup_application
|
||||
dispatcher.reload_application
|
||||
Dispatcher.cleanup_application
|
||||
Dispatcher.reload_application
|
||||
true
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue