Ruby folks, don&#x27;t let not being in Heroku stop you from taking this approach, because it&#x27;s the <i>best</i>. pry-remote (are you using irb instead of pry? please stop) will give you the same fantastic behavior. It&#x27;s part of every persistent Ruby service I deploy (guarded for internal access only, of course, don&#x27;t be crazy).<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Mon-Ouie&#x2F;pry-remote" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Mon-Ouie&#x2F;pry-remote</a>