Ruby 3.3 managed runtime pre-activates bigdecimal 4.0.1, causing Gem::LoadError for bigdecimal 3.x
@benrkia がすでに取り組んでいます。
2026年6月19日 から。
評価
この issue はまだ評価されていません。
説明
Description
We received a customer report on the AWS SDK for Ruby repo aws-sdk-ruby#3273) about a bigdecimal version conflict on the Ruby 3.3 managed Lambda runtime.
In July 2025, the aws-sdk-core gem declares bigdecimal as a runtime dependency (with no version constraint). The runtime (ruby:3.3.mainline.v94) appears to pre-activate bigdecimal 4.0.1 as a default gem.
The stack trace contains no SDK or application frames: it's entirely Bundler and Lambda runtime code.
Could you take a look and let us know what the best path forward is?
Customer Context
{
"errorMessage": "You have already activated bigdecimal 4.0.1, but your Gemfile requires
bigdecimal 3.1.8. Prepending `bundle exec` to your command may solve this.",
"errorType": "Init<Gem::LoadError>",
"stackTrace": [
"/var/lang/lib/ruby/site_ruby/3.3.0/bundler/runtime.rb:328:in `check_for_activated_spec!'",
"/var/lang/lib/ruby/site_ruby/3.3.0/bundler/runtime.rb:25:in `block in setup'",
"/var/lang/lib/ruby/site_ruby/3.3.0/bundler/spec_set.rb:224:in `each'",
"/var/lang/lib/ruby/site_ruby/3.3.0/bundler/spec_set.rb:224:in `each'",
"/var/lang/lib/ruby/site_ruby/3.3.0/bundler/runtime.rb:24:in `map'",
"/var/lang/lib/ruby/site_ruby/3.3.0/bundler/runtime.rb:24:in `setup'",
"/var/lang/lib/ruby/site_ruby/3.3.0/bundler.rb:165:in `setup'",
"/var/lang/lib/ruby/site_ruby/3.3.0/bundler/setup.rb:32:in `block in <top (required)>'",
"/var/lang/lib/ruby/site_ruby/3.3.0/bundler/ui/shell.rb:177:in `with_level'",
"/var/lang/lib/ruby/site_ruby/3.3.0/bundler/ui/shell.rb:122:in `silence'",
"/var/lang/lib/ruby/site_ruby/3.3.0/bundler/setup.rb:32:in `<top (required)>'",
"/var/runtime/gems/aws_lambda_ric-3.1.3/lib/aws_lambda_ric.rb:46:in `run'",
"/var/runtime/gems/aws_lambda_ric-3.1.3/lib/aws_lambda_ric.rb:219:in `bootstrap_handler'",
"/var/runtime/gems/aws_lambda_ric-3.1.3/lib/aws_lambda_ric.rb:201:in `start'",
"/var/runtime/index.rb:4:in `<main>'"
]
}
Managed zip. Here's the INIT line from the logs:
INIT_START Runtime Version: ruby:3.3.mainline.v94 Runtime Version ARN: arn:aws:lambda:us-east-1::runtime:58713c1f627a6d04dfda3ea4e11fae1cbca3ac46a4becad26f739c38911423d9
- 主要言語
- Ruby
- スター
- 81
- フォーク
- 36
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
似ている issue
-
user-reported
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Kong/developer.konghq.com#7316 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
TheOdinProject/curriculum#31408 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
bensheldon/good_job#1816 · コメント 5 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
notch8/utk_knapsack#148 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
Homebrew/homebrew-cask#288729 · コメント 1 件 ·