You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
test.rb
:$ bin/jruby -e 'require "test"'
This should not find the file (well, unless "." is in
$:
but it is not) and raise a LoadError.The last update to RubySpec revealed the bug.
9da2c2c should be revert once it is fixed.
The text was updated successfully, but these errors were encountered: