-
-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java -jar jruby-complete.jar -S irb doesn't work anymore #1983
Comments
I did read this on the user list but it worked when finding irb on the file-system. now I found it the failure. thanx for reporting. |
* fix not more loadService debug * fix list of activated gems
spaces in filename or path will still fail the execution of irb |
more ways to fail it:
or
or
|
So it looks like this logic is trying to read in and evaluate a file based on IRB's FILE location. Unfortuantely that location is inside the jar and File.open does not support URLs. We probably want to patch IRB to gracefully fail if it can't load this file, or come up with a way it can be loaded without this breakage. |
the particular thing here is when native is enabled this works:
the first fix was: but it feels kind of odd that there is no way to just compare two pathes, and find out whether they belong to the same physical file, without doing uri normalization see also: #2021 @headius FYI |
* fix not more loadService debug * fix list of activated gems
viz https://www.ruby-forum.com/topic/5650169#new
FWIW, the last version that worked was 1.7.13 AFAICT
The text was updated successfully, but these errors were encountered: