8000 `bundle exec <cmd>` gives "command not found" on JRuby+Windows · Issue #6053 · jruby/jruby · GitHub
[go: up one dir, main page]

Skip to content
bundle exec <cmd> gives "command not found" on JRuby+Windows #6053
Closed
@eregon

Description

@eregon

Environment Information

Provide at least:

  • JRuby 9.2.9.0
  • Windows

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0