Open
Description
Hello,
I have ruby 2.6.8p205 (2021-07-07 revision 67951).
I was following the README instruction to setup the project, encountered those issues :
Fetching bundler-2.5.6.gem
ERROR: Error installing bundler:
The last version of bundler (>= 0) to support your Ruby & RubyGems was 2.4.22. Try installing it with `gem install bundler -v 2.4.22`
bundler requires Ruby version >= 3.0.0. The current ruby version is 2.6.8.205.
I ran sudo gem install bundler -v 2.4.22
, without noticeable problem except for the next command
$ bundle install
Your RubyGems version (3.0.3.1) has a bug that prevents `required_ruby_version` from working for Bundler. Any scripts that use `gem install bundler` will break as soon as Bundler drops support for your Ruby version. Please upgrade RubyGems to avoid future breakage and silence this warning by running `gem update --system 3.2.3`
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Could not find compatible versions
Because nokogiri = 1.16.0.rc1 depends on Ruby >= 3.0.0
and nokogiri >= 1.16.0.rc1, < 1.16.0 depends on Ruby >= 3.0, < 3.1.dev,
nokogiri >= 1.16.0.rc1, < 1.16.0 requires Ruby >= 3.0.0.
So, because nokogiri = 1.15.4 depends on Ruby >= 2.7.0
and nokogiri >= 1.15.4, < 1.15.5 depends on Ruby >= 2.7, < 3.1.dev,
nokogiri >= 1.15.4, < 1.15.5 OR >= 1.16.0.rc1, < 1.16.0 requires Ruby >= 2.7.0.
See following picture for complete output :

Metadata
Metadata
Assignees
Labels
No labels