Set pry as default irb

29 Nov 2012



I hope you are familiar with pry, if not here is how pry defienes itself
Pry is a powerful alternative to the standard IRB shell for Ruby. It is written from scratch to provide a number of advanced features
Please don't misunderstand  this blog post is not an introduction about pry but rather this will tell you how you can set pry as the default irb

Install pry


Create a .irbrc file in the home directory if you don't have any


Append the following snippet into irbrc


Thats it. Now try irb on command line and you will enter into pry prompt
If you particularly enjoy my work, I appreciate donations given with Gittip.
comments powered by Disqus