Pry is a powerful alternative to the standard IRB shell for Ruby. It is written from scratch to provide a number of advanced featuresPlease 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