rbwasm: Bundler.require doesn't work
未关闭
还没有人认领这个 Issue。
- 主要语言
- Ruby
- 星标
- 875
- 派生
- 68
- 平均合并
- 9 天 5 小时
- 30 天内合并 PR
- 1
描述
I'd expect calling Bundler.require to load all of my gems, but instead, I get this error:
vm.js:739 Uncaught RbError: /config/boot.rb:6:in '<top (required)>': private method 'require' called for module Bundler (NoMethodError)
Manually requiring gems instead does work.
Also, if this is something a new contributor could help out with fixing, I'd be glad to give it a shot.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
使用 config/boot.rb 入口点在 rbwasm 中复现该失败,并检查 Bundler.require 在其中是如何暴露的。针对报告的 private-method 错误确认其行为,然后验证调用 Bundler.require 会在不发生错误的情况下加载打包的 gems。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- ruby, wasm
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100