Permalink
Browse files

Merge pull request #14588 from matthewd/kernel_y_with_spring

Explicitly load Kernel#y when starting a console
  • Loading branch information...
rafaelfranca committed Apr 3, 2014
1 parent 33c1dbd commit 1b2ea128d23569757dde56de9815aa29501b053a
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 1b2ea12

Please sign in to comment.