Environment Information
Provide at least:
See https://github.com/rubygems/bundler/issues/7602 and ruby/setup-ruby#18 (comment)
It's unclear if this is a Bundler bug or JRuby bug, but given that it works on MRI on Windows, and I it seems unlikely Bundler has code specific to MRI for bundle exec, I think it would be a JRuby bug.
Note that if there is any argument, the bug does not happen:
$ bundle exec rake
bundler: command not found: rake
Install missing gem executables with `bundle install`
$ bundle exec rake default
OK
Therefore a workaround is to replace bundle exec rake with bundle exec rake default but it's obviously just a workaround.
Environment Information
Provide at least:
See https://github.com/rubygems/bundler/issues/7602 and ruby/setup-ruby#18 (comment)
It's unclear if this is a Bundler bug or JRuby bug, but given that it works on MRI on Windows, and I it seems unlikely Bundler has code specific to MRI for
bundle exec, I think it would be a JRuby bug.Note that if there is any argument, the bug does not happen:
Therefore a workaround is to replace
bundle exec rakewithbundle exec rake defaultbut it's obviously just a workaround.