From e8734e0264f108a6d1bd08fe9838ccb2bb730a2a Mon Sep 17 00:00:00 2001 From: Vincent Woo Date: Fri, 23 May 2014 05:17:49 -0700 Subject: [PATCH] Mention other ways of triggering Rails mode --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index b95202a..6059878 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,15 @@ Then whenever an unhandled exception happens inside Rails, a Pry console will op stdout. This is the same terminal that you see the Rails logs on, so if you're using something like [pow](https://pow.cx) then you will run into difficulties. +If you are using non-default http servers like Unicorn or Thin, you can also trigger +this behavior via (after including pry-rescue in your Gemfile): + +``` +PRY_RESCUE_RAILS=1 bundle exec unicorn +``` + + + You might also be interested in [better_errors](https://github.com/charliesome/better_errors) which opens consoles in your browser on unhandled exceptions, and [pry-rails](https://github.com/rweng/pry-rails) which