장애 기록
이 문서의 본문은 아직 한국어로 번역되지 않았습니다. 아래에 영어 원문을 제공합니다.
Ticket ID
SUP-0005
Title
Ruby runtime version mismatch
Severity
High
Environment
- Mastodon 4.6.2
- Ruby
- Bundler
- rbenv
- Docker image build environment
Issue
bundle install failed during the Mastodon 4.6.2 upgrade.
Symptoms
Bundler::RubyVersionMismatch
Impact
- Ruby dependencies could not be installed.
- Docker image build could not continue.
- Upgrade process was delayed.
Investigation
- Reviewed the Bundler error message.
- Checked the Ruby version required by Mastodon 4.6.2.
- Compared it with the currently installed Ruby runtime.
Root Cause
Mastodon 4.6.2 required Ruby 4.0.5, but the installed Ruby version did not meet the requirement.
Resolution
- Installed Ruby 4.0.5 using rbenv.
- Reinstalled Bundler.
- Ran
bundle installagain.
Verification
bundle installcompleted successfully.- The Docker image build proceeded successfully.
Lessons Learned
Runtime requirements should be reviewed before starting a major application upgrade.
Prevention
- Check the required Ruby version in the target Mastodon release before upgrading.
- Install the required runtime before beginning the production deployment.