Permalink
Browse files

Merge pull request #14588 from matthewd/kernel_y_with_spring

Explicitly load Kernel#y when starting a console
  • Loading branch information...
1 parent 2bfb14c commit 8c89868ac96ef60361b2fbb6e99cbadf9850741a @rafaelfranca rafaelfranca committed Apr 3, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/lib/rails/engine.rb
@@ -430,6 +430,7 @@ def initialize
# Check <tt>Rails::Railtie.console</tt> for more info.
def load_console(app=self)
require "pp"
+ require "psych/y"
require "rails/console/app"
require "rails/console/helpers"
run_console_blocks(app)

0 comments on commit 8c89868

Please sign in to comment.