-
-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
JRuby on Windows: "bundler: command not found: rake" #18
Comments
Exclude JRuby for now (ruby/setup-ruby#18)
I'm unsure what's going on. |
That's the aim but my impression is very few people run JRuby in Windows CI in general. For instance, I had to figure out myself which launchers to keep and how to get a |
One issue I noticed is |
Various issues here, once again with how to provide a
|
|
Here is a final run: Still I'll fix the PATH issue, but long story short it doesn't seem the cause here. |
OK, this is fun
|
I released 1.41.1 which fixes the PATH so there is no default MRI in PATH, just JRuby. The rest ( |
@eregon thanks for debugging the issue, I saw your comment at jruby/jruby-launcher#29 (comment), is that something else so I should file another jruby issue about this? |
@dentarg That's something else. I think the issue is JRuby seems to fail to find executables without arguments on Windows ( |
I reported this bug to Bundler some time ago: rubygems/bundler#7602. It can be reproduced on any Windows machine with JRuby, it isn't specific to GitHub Actions. |
@slonopotamus Thanks! |
I reported the bug to JRuby as well, since I think it might be a JRuby bug: jruby/jruby#6053 |
This was fixed on Bundler side: rubygems/rubygems#3256 (comment) |
Seems to be an issue again: jruby/jruby#6053 (comment) |
Just an update for anyone finding this thread via search or something, it was concluded that the issue is still with Bundler, rubygems/rubygems#3256 is still open at the time of writing this. |
Another update, it is a bug in JRuby, fixed on master but not yet released: jruby/jruby#6745 |
Actions config used:
Output from the
bundle exec rake
stepThe
bundle install
step before do installrake
I assume JRuby on Windows should work out-of-the-box, right? Am I doing something wrong?
I saw #12, so I checked the asciidoctor-epub3 repo, they are installing bundler themselves, maybe that makes a difference somewhere
Status: see #18 (comment) and below
The text was updated successfully, but these errors were encountered: