Submitted by swarut on Thu, 10/04/2012 - 19:09
Pry is a replacement for traditional irb. It's very useful especially when it's integrated with hirb. The easy step is to include pry related gem and hirb gem in Gem file. I added hirb, pry, pry-rails, and ruby-debug-pry. After doing so, the pry should be included in config/initializers. I add pry.rb in that folder like this. This is not completed yet. As of the time I did this, I can not call "reload!" command in rails console. A quick fix is to add .pryrc this to a root folder. This is done for pry. Finally, for hirb, I create hirb.rb in config/initializers folder again like this. That's all!! : )
Useful links: