-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
- Windows 10
jruby 9.2.9.0 (2.5.7) 2019-10-30 458ad3e Java HotSpot(TM) 64-Bit Server VM 25.231-b11 on 1.8.0_231-b11 +jit [mswin32-x86_64]
installed via official installer JRuby 9.2.9.0 Windows Executable (x64)- Any Ruby project with
Gemfile
, for example takahashim/epubcheck-ruby gem install bundler
(installs bundler-2.1.4 as of today)bundler install
(installs rake-12.3.3 as of today for given example project)bundler exec rake
Expected: default rake target is executed
Actual:
bundler: command not found: rake
Install missing gem executables with `bundle install`
However, bundle exec rake test
works!
This problem doesn't reproduce on Linux/MacOS. This problem doesn't reproduce with MRI. This problem happens on all of my Windows machines. Additionally, it happens on GitHub Actions Windows nodes, so I believe bug is not caused by my misconfiguration. I do not have any evidence that it works on any Windows machine.
Further testing shows that any bundle exec <cmd>
fails, however bundle exec <cmd> <at least one more argument>
works.
I'm not sure whether this is Bundler or JRuby issue.
dentarg