I installed according to the instructions, using jvyaml from java.net and rbyaml from rubyforge, and rails appears to have installed successfully! A few observations:

- I saw the InterruptedExceptions and noticed they happened shortly after the download of each gem completed. Theory: RubyGems spins off a thread to do the download...the download completes and gets everything it needs...but for whatever reason the download continues to block. Perhaps it does one more read than it should, perhaps it doesn't fail when it calls the last read on a closed socket or an empty stream. At some point the main RubyGems thread decides this thread needs to be killed off, and part of Thread#kill is to Interrupt a thread if it's currently blocking. Bam, interrupted.
- I also saw how slow it was to download gems...it's absurdly slow, using 100% CPU the whole time. There's obviously something wrong.
- Ola wasn't kidding about rdoc taking a long time. The download and install of the gems took perhaps 30 minutes on my system, and the rdoc took easily an hour. Again, something's obviously not right.

However, having the whole thing working is really, really exciting. Kudos to Ola for Rb and JvYAML...looks like things are working very well.

On 6/6/06, Ola Bini <[EMAIL PROTECTED]> wrote:
Hi!

Here comes a few files if you want to test the new JvYAML support.
Actually, these are not patches at all, sorry for that...
Anyway:
jvyaml.jar goes in $JRUBY_HOME/lib
yaml.rb replaces the old one in $JRUBY_HOME/src/builtin
IOReader.java goes in $JRUBY_HOME/src/org/jruby/util
JRubyConstructor.java in $JRUBY_HOME/src/org/jruby/yaml
You also need a fairly newly checked-out version of RbYAML in your
$JRUBY_HOME/lib/ruby/site_ruby/1.8 since the yaml.rb defers everything
JvYAML doesn't do to RbYAML right now.

Anyway, enjoy!

/O




_______________________________________________
Jruby-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jruby-devel






--
Charles Oliver Nutter @ headius.blogspot.com
JRuby Developer @ jruby.sourceforge.net
Application Architect @ www.ventera.com
_______________________________________________
Jruby-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jruby-devel

Reply via email to