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

Can't install the correct Bundler version #77

Open
floriankraemer opened this issue Jan 31, 2024 · 2 comments
Open

Can't install the correct Bundler version #77

floriankraemer opened this issue Jan 31, 2024 · 2 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@floriankraemer
Copy link

I'm new to Jekyll and this GH Action, maybe I did something wrong, but if I got the docs right, then I should be able to define the right version in the workflow file and the action should use that version, no?

So I defined bundler_ver: '2.5.5' this but I still get this:

| Traceback (most recent call last):
|       2: from /usr/sbin/bundle:25:in `<main>'
|       1: from /usr/lib/ruby/2.7.0/rubygems.rb:296:in `activate_bin_path'
| /usr/lib/ruby/2.7.0/rubygems.rb:277:in `find_spec_for_exe': Could not find 'bundler' (2.5.5) required by your /home/florian/projects/jekyll/Gemfile.lock. (Gem::GemNotFoundException)
| To update to the latest version installed on your system, run `bundle update --bundler`.
| To install the missing version, run `gem install bundler:2.5.5`

Am I doing something wrong or is that a bug?

@jeffreytse jeffreytse self-assigned this Jan 31, 2024
@jeffreytse jeffreytse added the good first issue Good for newcomers label Jan 31, 2024
@jeffreytse
Copy link
Owner

Hi @floriankraemer

Thanks for your question, the issue why you can't install bundler:2.5.5 is that required ruby>=3.0.0, you can check from here.

Thanks & Regards

@jeffreytse
Copy link
Owner

Hi @floriankraemer

I think this issue should be settled down with the latest version of v0.6.0, you can specify the compatible ruby version and bundler version for your project.

Thanks & Regards

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

No branches or pull requests

2 participants