-
-
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
CWD is uri:classloader: then require_relative might not work #3176
Comments
easier testcase:
so expand_path fails with relative path when inside uri:classloader:/ |
mkristian
added a commit
that referenced
this issue
Jul 24, 2015
…s CWD using JRubyFile instead of regular File helps to keep the uri-like paths intact. fixes #3176 Sponsored by Lookout Inc.
Ah, this could be the issue I just found trying to require rspec. I only get it on Windows, though, and OSX seems to be no problem somehow (slash order?). Same issue or different?
|
this looks like the slashes after |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
file test.rb:
and file other.rb:
then following fails:
The text was updated successfully, but these errors were encountered: