JRuby is an 100% pure-Java implementation of the Ruby programming language. Announcement: http://docs.codehaus.org/display/JRUBY/2008/04/05/JRuby+1.1+Released Homepage: http://jruby.codehaus.org/
Created attachment 149475 [details] jruby-1.1.ebuild Slightly modified ebuild.
Created attachment 149476 [details] files/jruby-1.1_launcher Necessary script fragment for jruby launcher script.
My dev machine is currently unavailable for the immediate foreseable future. Can someone from Java team take this on?
1.1.2 is out
1.1.3 is now in java-overlay.
1.1.5 is out
1.1.6 is out
Moving to herd since nichoj left Gentoo.
Just to let you guys know that I'm working on 1.2.0. It builds but it's having trouble with some tests and I'd like to see them pass.
1.1.4 and 1.2.0 are now in java-overlay. I prepared 1.1.4 ages ago but only got the tests to work while working on 1.2.0. Thought I might as well add them both. Two tests fail on 1.2.0 but these are due to problems with the tests and not JRuby itself.
(In reply to comment #10) > 1.1.4 and 1.2.0 are now in java-overlay. I prepared 1.1.4 ages ago but only got > the tests to work while working on 1.2.0. Thought I might as well add them > both. Two tests fail on 1.2.0 but these are due to problems with the tests and > not JRuby itself. > Thanks for the work Chewi. Two issues. 1) 1.2.0 (at least) is producing invalid bytecode 2) producing javadocs is throwing OutOfMemoryErrors. Now these errors seem to be related to the GC so please see http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html#par_gc.oom as well trying -J-Xmx. I will actually fix this once the bytecode is correct, as I can reproduce it.
I haven't committed yet but I've fixed the bytecode issue (I think!) and I've also fixed the broken tests. Someone had already reported the javadoc issue and the memory size was raised to 128MB but seemingly this wasn't enough. I've tried 192MB and that works. I'll give upstream a couple of days to respond. http://jira.codehaus.org/browse/JRUBY-3208
Gave up waiting and committed a fix in the overlay. I've patched the tests so that they work. I've also replaced 1.1.4 with 1.1.6. This is needed for the Eclipse RDT plugin. I've now keyworded these and the dependencies with ~x86.
This might get interesting for the Ruby team too.. I've tried it out on the current eclasses we got and I could start adding some sort of support for jruby on some ebuilds and see _how much_ of it would fail badly with jruby ;) I'm interested because I want to make my own ruby code to work with it..
Moved to tree, many thanks. Just a small advice, please use .tar.bz2 next time, and put comments in ebuilds with instructions how to create the distfiles. Shame on upstream, anyway.