-
-
Notifications
You must be signed in to change notification settings - Fork 280
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
Error: Cannot parse bundler input: 2.0.0.pre.3 #439
Comments
#394 is sort of related |
It's different than #394 in that 2.0.0.pre.3 actually exists: https://rubygems.org/gems/bundler/versions It feels messy to differentiate |
Thanks for a quick fix! When comparing versions 2.0.0.pre.3 is < 2.0. Not sure if it matters for this library anywhere, but potentially makes sense to use a semver parser, and allow all these .dev versions too without having to worry about whether they exist or not (just fail if they don't later?). |
The last thing we want is to parse the version, because that doesn't roundtrip properly (at least with the semver package I tried back then). |
Just to be pedantic, in semver 2.0.0.pre.3 < 2.0, but you're right that for this library it doesn't matter. Thanks. |
Ensure the following before filing this issue
I verified it reproduces with the latest version with
- uses: ruby/setup-ruby@v1
(see Versioning policy)I tried to reproduce the issue locally by following the workflow steps (including all commands done by
ruby/setup-ruby
, except forDownloading Ruby
&Extracting Ruby
),and it did not reproduce locally (if it does reproduce locally, it's not a ruby/setup-ruby issue)
Are you running on a GitHub-hosted runner or a self-hosted runner?
GitHub-hosted runner
The workflow code or a link to the workflow file
Link to the log of a failed workflow job, or to a gist with the output
https://github.com/mongoid/mongoid-grid_fs/actions/runs/3851008682/jobs/6561766355
The command and output of the failing step
Any other notes?
Looks like any
pre
version fails to parse. It's a valid version of bundler, which is< 2
but bigger than> 1.x
so it's why it was being used used here as some workaround. It's NBD for our project, but still seems like a valid bug for ruby-setup.The text was updated successfully, but these errors were encountered: