rack-console
rack-console copied to clipboard
irb error: cannot load such file -- pry
In production environment I have no pry
and in case of any exception I get also LoadError from rack console:
irb(main):001:0> raise
<internal:/usr/local/rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require': cannot load such file -- pry (LoadError)
Did you mean? pty
from <internal:/usr/local/rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
from /home/demo/myapp/shared/bundle/ruby/3.2.0/gems/rack-console-1.3.1/lib/rack/console.rb:33:in `start'
This error appeared after updating to Ruby 3.2.2. On Ruby 2.7 all was ok. This is most likely due to the irb update in new ruby.