Rails gems.ruby-china.com 缺少 bigdecimal 4.1.1 版本

shin · 2026年04月05日 · 最后由 newerer 回复于 2026年04月06日 · 35 次阅读

在使用 source "https://gems.ruby-china.com" 作为 Bundler 源时,发现 bigdecimal (4.1.1) 无法获取。

具体情况如下:

在升级 Rails 从 8.1.1 到 8.1.2 过程中,依赖解析需要使用 bigdecimal (4.1.1) 该版本在 https://rubygems.org 上是存在的,并且可以正常安装 但在 gems.ruby-china.com 镜像源中无法获取,导致 bundle install 失败,进而影响部署

报错类似:

Your bundle is locked to bigdecimal (4.1.1) ... but that version can no longer be found in that source.

请问是否可以帮忙同步或刷新该版本的索引?

感谢支持!

为什么就非得用这个源,这个源都半废状态了。

需要 登录 后方可回复, 如果你还没有账号请 注册新账号