Last Updated: February 25, 2016
·
6.98K
· rwz

Use Pry instead of irb in rails console

Pry is the coolest irb alternative there is. It seems like there are no features and goodnesses it doesn't support. You can read more about Pry here.

Anyways, if you want to use Pry instead of default rails console, just toss this line into your Gemfile:

gem 'pry-rails', :group => :development

and do bundle install.