Project

General

Profile

Bug #17484

pry & byebug gems not working properly with Ruby 3.0.0

Added by pabs08 (Pablo Vent) 2 months ago. Updated 25 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:101779]

Description

When I try to use pry with version 3, it won't allow me. For example when I type in the command next in the terminal, an error message says: "can't escape from eval with next". When using byebug's command step, version 3 I get an error that says "NameError: undefined local variable or method `step' for main:Object". I'm using MacOS 10.15.7 at the moment. To circumvent this issue, I had to revert back to 2.7.1 where these gems work just fine.


Files

Screen Shot 2020-12-28 at 13.33.56.png (406 KB) Screen Shot 2020-12-28 at 13.33.56.png next command error pabs08 (Pablo Vent), 12/28/2020 01:34 PM
Screen Shot 2020-12-28 at 13.34.15.png (510 KB) Screen Shot 2020-12-28 at 13.34.15.png step command error pabs08 (Pablo Vent), 12/28/2020 01:35 PM
ruby_3.rb (129 Bytes) ruby_3.rb file in question pabs08 (Pablo Vent), 12/28/2020 01:37 PM

Updated by mame (Yusuke Endoh) 2 months ago

It works perfectly for me. Did you gem install pry-byebug?

#2

Updated by jeremyevans0 (Jeremy Evans) 25 days ago

  • Status changed from Open to Closed

Also available in: Atom PDF