Skip to content

Main.java fails to load main Ruby file #4

Description

Main.java bootstraps a package Ruby app by using evalScript to require the main Ruby file as defined in build_configuration.rb

This is typically src/main.rb but file name is configurable.

The call to require does not use a full path; it assumed that 1src/was part of$LOAD_PATH` but with recent JRuby releases this appears to no longer be the case.

What now happens is the code fails with a "File not found" exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions