Fcntl module not working
------------------------
Key: JRUBY-3349
URL: http://jira.codehaus.org/browse/JRUBY-3349
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1.6
Environment: Macosx 10.5, java version "1.5.0_16", Java(TM) 2 Runtime
Environment, Standard Edition (build 1.5.0_16-b06-284)
Reporter: Brice Figureau
Attachments: r.rb
Using the following ruby file which is the shortest case I could find to
reproduce the issue I originally had when running Puppet with JRuby:
r.rb:
require 'fcntl'
puts "F_SETFD: %s" % Fcntl::F_SETFD
On original ruby 1.8.7 or 1.8.6, the following is printed:
FD: 2
On JRuby 1.1.6:
fcntl:1:in `const_missing': uninitialized constant Fcntl::F_SETFD (NameError)
from /tmp/r.rb:3
The fcntl file exists in the installation directory as FFI. It seems to be
available to the architecture on which I run JRuby, but for some unknown reason
the file doesn't seem to be loaded.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email