Module: RakeCommander::Patcher::Application::TopLevelResume::ClassMethods
- Includes:
- Debug
- Defined in:
- lib/rake-commander/patcher/application/top_level_resume.rb
Instance Method Summary collapse
-
#rectify_rake_application ⇒ Object
Reloading
Rakefile
has drawbacks aroundrequire
only being launched once per dependency.
Methods included from Debug
#rake_comm_debug, #rake_comm_debug_main_object_id, #rake_comm_debug_random_object_id
Instance Method Details
#rectify_rake_application ⇒ Object
Reloading Rakefile
has drawbacks around require
only being launched once per
dependency. Apparently some tasks of some gems are installed at require
run-time.
This requires to keep known tasks when we switch the application.
40 41 42 43 44 |
# File 'lib/rake-commander/patcher/application/top_level_resume.rb', line 40 def rectify_rake_application RakeCommander.self_load_reset argv = RakeCommander.argv_rake_native_arguments(ARGV) Rake.application.send(:collect_command_line_tasks, argv) end |