Skip to content

Ruby 4.0.0: Cannot install dependencies by "bundle install". #683

@junaruga

Description

@junaruga

I am using Ruby 4.0.0 released version (compiled from the ruby/ruby v4.0.0 tag source). And I couldn't install the gem dependencies by Bundler on this repository's latest master branch commit bc3f2f8 by the following error.

$ pwd
/home/jaruga/git/ruby-pg

$ which ruby
~/.local/ruby-4.0.0-debug/bin/ruby

$ ruby -v
ruby 4.0.0 (2025-12-25 revision 553f1675f3) +PRISM [x86_64-linux]

$ which bundle
~/.local/ruby-4.0.0-debug/bin/bundle

$ bundle -v
4.0.3

$ bundle config set path vendor/bundle

$ bundle install
Fetching https://github.com/rake-compiler/rake-compiler-dock
Fetching gem metadata from https://rubygems.org/.........
Could not find gem 'rake-compiler-dock (~> 1.10.0)' in
https://github.com/rake-compiler/rake-compiler-dock (at main@0f50804).

The source contains the following gems matching 'rake-compiler-dock':
  * rake-compiler-dock-1.11.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions