Skip to content

Ruby 3.2.4 install fails on ruby-build with base conversion error #2565

@anubhav8421

Description

@anubhav8421

Steps to reproduce the behavior

  1. Run CodeBuild (or any Linux container environment).
  2. Install ruby-build and attempt to install Ruby 3.2.4 manually:
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
~/.rbenv/plugins/ruby-build/bin/ruby-build 3.2.4 ~/.rbenv/versions/3.2.4

Expected vs. actual behavior

Expected: Ruby 3.2.4 should install successfully.
Actual: ruby-build fails with a parsing error on line 1155.

Logs

Entering phase INSTALL
[Container] 2025/09/05 08:27:15.353161 Running command git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
Cloning into '/root/.rbenv/plugins/ruby-build'...

[Container] 2025/09/05 08:27:16.289365 Running command ~/.rbenv/plugins/ruby-build/bin/ruby-build 3.2.4 ~/.rbenv/versions/3.2.4
/root/.rbenv/plugins/ruby-build/bin/ruby-build: line 1155: 2k: value too great for base (error token is "2k")

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions