Skip to content

pry and pry-plus in production #2

@codesnik

Description

@codesnik

Hello.
I'd like to have rails console using pry in RAILS_ENV=production too.

but if I have following in Gemfile

gem 'pry-rails'
gem 'pry-plus', group: :development

then all the deps are loaded too, even in unicorn instances. My particular problem is with pry-rescue, intercepting SIGQUIT, and that's messes up with unicorn reloading.

Do you think it's possible to load pry-plus deps only when actually starting rails console?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions