I am the one who developed the method for Heroku and Pry, but you raised an interesting case that I did not think about, since I mainly deploy with Sinatra and EM and build my own helpers and the like. Anyway:
To use Pry with Heroku when using a Rails application, you just need to add pry-rails and pry to your gemfile (like a regular Gem), then bundle install
, then git [commit|push]
and run heroku run console
on the Cedar stack Step 3 of what you did when you adjusted the configuration / environment does not and should not be done, please revert this change if you can. After you do this and remove the pry script from the root of your application (well, you donβt have to do the latter) Pry will load correctly with your Rails.
Jordon bedwell
source share