LoadError (cannot load such file — pry):

You may get this error if you haven’t included your gem in your Gemfile.

E.g. put this in your Gemfile:

gem ‘pry’

and then put this in the Rails file:

require ‘pry’

Leave a Reply

Your email address will not be published. Required fields are marked *