Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to install bundle, is the README up to date? #55

Open
Jaccouille opened this issue Mar 13, 2024 · 2 comments
Open

Failed to install bundle, is the README up to date? #55

Jaccouille opened this issue Mar 13, 2024 · 2 comments

Comments

@Jaccouille
Copy link
Contributor

Jaccouille commented Mar 13, 2024

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 :

image
@Frotty
Copy link
Member

Frotty commented Mar 13, 2024

Yea the readme seems out of date, will update. Github Pages uses ruby 2.7.4 see https://pages.github.com/versions/

edit: I have updated the readme a bit

@Jaccouille
Copy link
Contributor Author

Jaccouille commented Mar 14, 2024

Thanks, I managed to setup & run the project.
However I encountered many small error due to my inexperience with ruby on macOs Monterey 12.2.1.

I Recommend those 2 links :
https://jekyllrb.com/docs/installation/macos/
https://stackoverflow.com/questions/69890412/bundler-failed-to-load-command-jekyll

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants