Skip to content

Update Ruby to version 4.0.0

4179652
Select commit
Loading
Failed to load commit list.
Closed

[ruby] Update Ruby 3.4.6 → 4.0.0 #293

Update Ruby to version 4.0.0
4179652
Select commit
Loading
Failed to load commit list.
Cirrus CI / rubocop failed Jan 2, 2026 in 6m 32s

Task Summary

Instruction rbenv failed in 06:19

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:00 clone
✅ 00:09 os_setup
✅ 00:01 rbenv_setup
❌ 06:19 rbenv

  *)
    command rbenv "$command" "$@";;
  esac
}
mkdir -p "$(rbenv root)"/plugins
git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build
Cloning into '/root/.rbenv/plugins/ruby-build'...
exe/setup/ruby.sh
exe/setup/ruby.sh: line 5: ruby: command not found
> git -C /root/.rbenv/plugins/ruby-build pull
Already up to date.
> rbenv install -s
==> Downloading ruby-4.0.0.tar.gz...
-> curl -q -fL -o ruby-4.0.0.tar.gz https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.0.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0   0     0   0     0     0     0  --:--:-- --:--:-- --:--:--     0
100 23393k 100 23393k   0     0 84775k     0  --:--:-- --:--:-- --:--:-- 85067k
==> Installing ruby-4.0.0...
-> ./configure "--prefix=$HOME/.rbenv/versions/4.0.0" --enable-shared --with-ext=openssl,psych,+
-> make -j 16
-> make install
==> Installed ruby-4.0.0 to /root/.rbenv/versions/4.0.0
> gem install bundler --conservative
Fetching https://github.com/AlexWayfer/flame-menu.git
Bundler can't satisfy your Gemfile's dependencies.
Install missing gems with `bundle install`.
> bundle install
Don't run Bundler as root. Installing your bundle as root will break this
application for all non-root users on this machine.
Bundler 4.0.3 is running, but your lockfile was generated with 2.4.17. Installing Bundler 2.4.17 and restarting using that version.
Fetching gem metadata from https://rubygems.org/.
Fetching bundler 2.4.17
Installing bundler 2.4.17
Don't run Bundler as root. Installing your bundle as root will break this
application for all non-root users on this machine.
Fetching https://github.com/AlexWayfer/flame-menu.git
Fetching gem metadata from https://rubygems.org/........
Fetching https://github.com/AlexWayfer/flame-menu.git
Fetching https://github.com/AlexWayfer/rack-protection-maximum_cookie.git
Fetching https://github.com/AlexWayfer/Voight-Kampff.git
Resolving dependencies...
Could not find compatible versions

Because r18n-core >= 5.0.1 depends on Ruby >= 2.5, < 4
and r18n-core >= 5.0, < 5.0.1 could not be found in rubygems repository
https://rubygems.org/ or installed locally,
  r18n-core >= 5.0 requires Ruby >= 2.5, < 4.
And because flame-r18n >= 3.0.0.rc1 depends on r18n-core ~> 5.0,
  flame-r18n >= 3.0.0.rc1 requires Ruby >= 2.5, < 4.
So, because Gemfile depends on flame-r18n ~> 3.0.0.rc1
  and current Ruby version is = 4.0.0,
  version solving has failed.

Failed to execute populate script for rbenv cache!