Skip to content

Preinstalled jruby-launcher causing warnings on Java 8 #774

@headius

Description

@headius

Ensure the following before filing this issue

  • I verified it reproduces with the latest version with - uses: ruby/setup-ruby@v1 (see Versioning policy)

  • I tried to reproduce the issue locally by following the workflow steps (including all commands done by ruby/setup-ruby, except for Downloading Ruby & Extracting Ruby),
    and it did not reproduce locally (if it does reproduce locally, it's not a ruby/setup-ruby issue)

Are you running on a GitHub-hosted runner or a self-hosted runner?

GitHub-hosted runner

Link to the failed workflow job (must be a public workflow job, so the necessary information is available)

https://github.com/jruby/warbler/pull/559/checks#step:6:29

Any other notes?

Release builds of JRuby used by setup-ruby appear to have jruby-launcher preinstalled, but I cannot determine where this is happening. We do not pre-install it in our distribution archives, since it builds a native executable that would not work across platforms. It would be preferable on all platforms to leave the existing shell-based launcher in place, except on Windows where the provided jruby.exe will be used.

I would have filed this with ruby-builder but there's no way to file issues there. However it doesn't look like ruby-builder is doing it either. I'm not sure how this is getting installed, but it should not be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions