Socket.for_fd generates ArgumentError when running EventMachine gem (pure_ruby version) ---------------------------------------------------------------------------------------
Key: JRUBY-2687 URL: http://jira.codehaus.org/browse/JRUBY-2687 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.1.2 Environment: MacOS X 10.5.3, Java 5 enabled Reporter: Chuck Remes Attachments: em.tgz While testing the pure ruby version of EventMachine under jruby, I ran into this error using the echoserver example. To recreate, EventMachine 0.12 needs a small patch which is enclosed as an attachment. The patch essentially adds a missing method that contains a 'no op'. It also makes sure that under the jruby environment that the :pure_ruby directive takes precedence. Secondly, run the em.rb file which contains the example echo server. When executing this jruby generates the aforementioned ArgumentError. This exact code and environment executes correctly and without error under MatzRuby 1.8.6 p111. -- 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