add pry, pry-doc and pry-rails gems to the gemfile.