rweng/pry-rails — pull request #14 by rwfitzge (2012-02-08 21:08:22+00:00)
Title: Fix major bug in my last pull

My last pull request breaks Rails booting outside the console. This fixes it by only replacing IRB when we're actually in the console. An alternate fix would be to set Rails::IRB instead of Rails::Console::IRB, but this seems preferable.

Sorry about the issue. I'd recommend yanking the last gem and pushing this one immediately.