-
-
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
File.symlink broken on windows #4669
Comments
I forgot to mention that it does work on a mac. I assume it will on Unix, but I haven't merged my branch down yet to verify. |
Thanks. You guys are fast... |
Pretty interesting bug as it turns out. JRuby has not changed since 9.1.2.0 implemented this feature but it appears FFI used to search all ffi_libs in a module to bind to a function. At some point this ended up only using the last specified ffi_lib and failing if it was not on it. The caveat to that behavior if is the function is on libc it will load regardless as to whether it is listed in ffi_lib (e.g. it is special). |
@cshupp1 well I had made 9.1.11.0 and had nearly finished the release and when I saw this come in I decided this should get fixed; so your timing was pretty lucky! |
If that releases today too, I am gonna brag pretty hard on JRuby at today's team meeting... |
On windows 10 JRuby cannot use File.symlink (MRI ruby can). Consider the following:
Not an admin(MRI):
An admin:
JRuby (admin)
Currently, the react on rails gem needs this method to work during asset compilation. This means my maven build cannot complete on a windows machine.
This was originally found on 9.1.8, and may be related to:
Environment
Provide at least:
jruby -v
) and command line (flags, JRUBY_OPTS, etc)uname -a
)Other relevant info you may wish to add:
Expected Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: