Re:Using pry in production
by coderaptor on Friday February 14, 2014 @09:32PM
(#7242386)
> $ RAILS_ENV=production bin/pry -r ./config/environment
Re:Using pry in production
by michaelmior on Friday February 14, 2014 @06:49PM
(#7241907)
Installing the pry gem doesn't stop anyone from using irb if they prefer.
Re:Using pry in production
by MaxGabriel on Friday February 14, 2014 @08:56PM
(#7242291)
The way the article does it (using pry rails) will make 'rails console' use pry, so it does affect my coworkers.
Re:Using pry in production
by michaelmior on Friday February 14, 2014 @09:21PM
(#7242360)
Ah, got it. I misunderstood your question.
A slight twist on 'Pry in Production' I've done is to drop a call to `binding.pry` in the code on a staging server. Then I can step through production data and inspect what's going on.