-
-
Notifications
You must be signed in to change notification settings - Fork 260
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
Basic Bundler operations don't seem to work on Windows #209
Comments
Not sure what the issue is. YARD uses rspec (the only repo I immediately thought of), and it's using Bundler 2 and a rake task. I looked at the branch you added Windows CI to. You might add quotes around the 3.0 version in the workflow file, as it's interpreted as '3' by the parser. So, when Ruby 3.1 is released, it will jump to that... Also, personal preference, but '-latest` for OS designation may change, which you may not want... |
https://github.com/Shopify/seafoam/runs/3186334964#step:3:22
Can you try by removing the If that's not it, I suspect a potential regression in Bundler. But should definitely make sure Bundler 2 is used first, Bundler 1 is no longer being developed and might not work with recent Rubies AFAIK. |
Note that I think the problem is there is no Rakefile in https://github.com/Shopify/seafoam/tree/windows-ci |
Yes in my other repo it actually finds
Does Bundler need a Rakefile to run? It doesn't in macOS or Ubuntu. |
I don't think it's using Rake or not. I added a Rakefile, and same issue. https://github.com/Shopify/seafoam/runs/3191396713#step:4:11
|
It is fixed by upgrading to most recent Bundler though, so I'll investigate in that direction. |
It does work with I don't know if that needs to be documented, or tested for, or something like that. |
I added
|
Documented in 77d7ca9. |
I don't run |
^ indeed, my bad, I was confusing with some other log. |
I have a basic gem. Its CI looks like this.
https://github.com/Shopify/seafoam/blob/master/.github/workflows/workflows.yml
I enabled Windows, and there even a basic
bundle exec rspec
doesn't work on Windows.Shopify/seafoam@9ef19e5
https://github.com/Shopify/seafoam/runs/3186334852
I found this in a more complex gem, but I'm reproducing here to make the problem more clear in simpler code. That gem does
bundle exec rake
, so it's not a Rake / RSpec thing.The text was updated successfully, but these errors were encountered: