Tested on Rails 5.1, for development, test and production (!).
At the top of your Gemfile
(don't add to :development
or :test
):
- Add
gem 'pry'
to yourGemfile
- Add
gem 'awesome_print'
to yourGemfile
Make sure you updated your application.rb
(not development.rb
):