Skip to content

Commit

Permalink
Merge pull request #14588 from matthewd/kernel_y_with_spring
Browse files Browse the repository at this point in the history
Explicitly load Kernel#y when starting a console
  • Loading branch information
rafaelfranca committed Apr 3, 2014
1 parent 2bfb14c commit 8c89868
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions railties/lib/rails/engine.rb
Expand Up @@ -430,6 +430,7 @@ def initialize
# Check <tt>Rails::Railtie.console</tt> for more info. # Check <tt>Rails::Railtie.console</tt> for more info.
def load_console(app=self) def load_console(app=self)
require "pp" require "pp"
require "psych/y"
require "rails/console/app" require "rails/console/app"
require "rails/console/helpers" require "rails/console/helpers"
run_console_blocks(app) run_console_blocks(app)
Expand Down

0 comments on commit 8c89868

Please sign in to comment.