Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Requiring a bare file from current directory works unexpectedly #3049
This is a side effect of our desire to present both Ruby and Java command-line semantics. When running the "java" command at the command line, the current directory is added to the classpath. We do the same in our launcher. This causes Ruby files to be accessible because they can be found via classloader searching.
I'm not opposed to removing this classpath entry, but it would be a change from how the "jruby" command has run for many years.
I did removed this java "feature" on my https://github.com/jruby/jruby/tree/test-dir-globs-on-uri-classloader branch where I want to move the last bit of the old "LoadService" into the new one.
I always thought this is the desired feature since we have already such a test which does not fail for other reasons (ruby PWD != java PWD)
but whatever is decided here I would incorporate it in the above branch.