FYI: transient dependency on `erb` means that `debug` no longer installs on Ruby < 3.2
还没有人认领这个 Issue。
评估
调研方向
Start with the Ruby version requirement in debug.gemspec and the supported versions listed in README.md. Reproduce installation on Ruby 3.1 and inspect the dependency chain through irb, rdoc, and erb. Done should mean either supported Ruby versions install successfully or the support claims and CI coverage are updated to match.
由索引模型根据 Issue 内容生成。
描述
Your environment
ruby -v:ruby 3.1.7p261 (2025-03-26 revision 0a3704f218) [x86_64-linux]
Describe the bug
I noticed in this dependabot PR, that CI was failing to install debug in Ruby 3.1.
debug relies on irb, which relies on rdoc which relies on erb, which dropped support for Ruby < 3.2:
erb-5.0.1 requires ruby version >= 3.2.0, which is incompatible with the current
version, 3.1.7
debug claims to support Ruby back to 2.7 (here and here), but currently can't be installed on those.
To Reproduce
- Within Ruby <3.2, try to install
debug
Expected behavior
- If it's a supported Ruby version, then installing
debugshould work fine.- And perhaps
debugshould have a CI run using these old versions to show that it continues to work.
- And perhaps
Additional context
I know that this isn't under your direct control, so I'm not sure which would be the best way to handle this.
This is really just an FYI. In my case, I'll probably drop support for 3.1 myself, and so I will no longer attempt to install debug on it.
- 主要语言
- Ruby
- 星标
- 1.3k
- 派生
- 146
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ruby/debug 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 68/100
-
Support exceptionOptions in setExceptionBreakpoints to catch arbitrary exception classes via DAP 未关闭
难度 4/5 3-5 天 新手友好度 55/100
-
难度 3/5 1-2 天 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 52/100
-
难度 4/5 3-5 天 新手友好度 35/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
palladius/rails8-app-on-gcp#145 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
rubocop/rubocop-rspec#2236 ·
-
bug
难度 2/5 1-3 小时 新手友好度 70/100
riscv/riscv-unified-db#2624 · 1 个 reaction ·
-
难度 1/5 1 小时以内 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 78/100