1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Extend IRB right before starting IRB to remove dependency on IRB from Rails::Application

This commit is contained in:
Akira Matsuda 2011-11-10 06:47:35 +09:00
parent f686d9429f
commit a658fd2ffa
2 changed files with 2 additions and 2 deletions

View file

@ -205,8 +205,6 @@ module Rails
require "pp"
require "rails/console/app"
require "rails/console/helpers"
IRB::ExtendCommandBundle.send :include, Rails::ConsoleMethods
end
end
end

View file

@ -42,6 +42,8 @@ module Rails
else
puts "Loading #{Rails.env} environment (Rails #{Rails.version})"
end
IRB::ExtendCommandBundle.send :include, Rails::ConsoleMethods
IRB.start
end
end