-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Description
Describe the problem as clearly as you can
Bundler 2.6.1 cannot install Bundler 2.5.14
Did you try upgrading rubygems & bundler?
Post steps to reproduce the problem
(Tested on ruby 3.3.3 (2024-06-12 revision f1c7b6f435) [x86_64-linux] running on Linux kernel 6.10.14)
- Install Bundler 2.6.1
- Attempt to
bundle installwith a Gemfile.lock created using Bundler 2.5.14
Which command did you run?
bundle install
What were you expecting to happen?
Bundler 2.6.1 to successfully install Bundler 2.5.14, then use Bundler 2.5.14 to install the gems in the lockfile.
What actually happened?
#29 2.493 Bundler 2.6.1 is running, but your lockfile was generated with 2.5.14. Installing Bundler 2.5.14 and restarting using that version.
#29 7.831 Fetching gem metadata from https://rubygems.org/.
#29 7.917 Fetching bundler 2.5.14
#29 8.201 Installing bundler 2.5.14
#29 8.488 /usr/local/rvm/gems/ruby-3.3.3/bin/ruby_executable_hooks:15:in `read': No such file or directory @ rb_sysopen - install (Errno::ENOENT)
#29 8.488 from /usr/local/rvm/gems/ruby-3.3.3/bin/ruby_executable_hooks:15:in `<main>'
#29 ERROR: process "/bin/sh -c gem install bundler && bundle install" did not complete successfully: exit code: 1
If not included with the output of your command, run bundle env and paste the output below
Environment
Bundler 2.5.14
Platforms ruby, x86_64-linux
Ruby 3.3.3p89 (2024-06-12 revision f1c7b6f435f1167a0514b39a5f72f55cec4d1426) [x86_64-linux]
Full Path /usr/local/rvm/rubies/ruby-3.3.3/bin/ruby
Config Dir /usr/local/rvm/rubies/ruby-3.3.3/etc
RubyGems 3.5.11
Gem Home /usr/local/rvm/gems/ruby-3.3.3
Gem Path /usr/local/rvm/gems/ruby-3.3.3:/usr/local/rvm/rubies/ruby-3.3.3/lib/ruby/gems/3.3.0
User Home /root
User Path /root/.local/share/gem/ruby/3.3.0
Bin Dir /usr/local/rvm/gems/ruby-3.3.3/bin
Tools
Git 2.34.1
RVM not installed
rbenv not installed
chruby not installed
rubygems-bundler (1.4.5)
Bundler Build Metadata
Built At 2024-06-21
Git SHA 72920bc230
Released Version true
Bundler settings
build.mysql2
Set for your local app (/[redacted]/.bundle/config): "--with-openssl-dir=/usr/local/opt/openssl@1.1 --with-mysql-dir=/usr/local/opt/mysql@5.7"
Gemfile
Gemfile
[Redacted]
Gemfile.lock
[Redacted]
RUBY VERSION
ruby 3.3.3p89
BUNDLED WITH
2.5.14
DBugger32 and ssa-wtag