[Bug 417511] Review Request: jruby - Pure Java implementation of the Ruby interpreter
bugzilla at redhat.com
bugzilla at redhat.com
Sun Apr 6 19:36:04 UTC 2008
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: Review Request: jruby - Pure Java implementation of the Ruby interpreter
https://bugzilla.redhat.com/show_bug.cgi?id=417511
------- Additional Comments From konrad at tylerc.org 2008-04-06 15:36 EST -------
I think a shared stdlib is the way to go as well. For now I am just
using /usr/lib/ruby/ for JRuby, though you're welcome to try and patch it to
look in /usr/lib/jruby.
In my attempt to try to do so I found that libdir, archdir, sitelibdir and
sitearchdir as part of Config::CONFIG are defined in
src/org/jruby/libraries/RbConfigLibrary.java, but unfortunately changing those
did not affect the load library PATH.
As far as separation between the two in /usr/lib/ruby goes: JRuby already looks
in /usr/lib/ruby/1.8/java as part of its default LOAD_PATH (but it's not
anywhere near the first directory checked).
Ruby 1.9 is using native threads, but they have a giant lock that lets them get
away with much of this (or so says the main JRuby dev -- see
http://headius.blogspot.com/2008/04/shared-data-considered-harmful.html).
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the package-review
mailing list