Hi! It's not totally obvious, of course.
Here is a blog with the complete steps taken for this to work: http://ola-bini.blogspot.com/2006/06/getting-rubygems-to-work-with-jruby.html Good luck! /O ----- Original Message ----- From: Charles O Nutter <[EMAIL PROTECTED]> Date: Saturday, June 3, 2006 3:51 am Subject: Re: [Jruby-devel] Yaml update To: jruby-devel@lists.sourceforge.net > How did you set up rbyaml to be used instead of the builtin yaml? > I'm having > a few issues (but I always have issues getting builtins to work > right). > On 6/2/06, Ola Bini <[EMAIL PROTECTED]> wrote: > > > > > > Yep, it is now! =) > > > > I'm planning on doing a minor release on sunday, with all the small > > changes done for this. One problem is the SYCK bug, which generates > > invalid YAML. > > Right now I've hacked the definitions to allow illegal YAML. > > > > /O > > > > ----- Original Message ----- > > From: Charles O Nutter <[EMAIL PROTECTED]> > > Date: Saturday, June 3, 2006 0:28 am > > Subject: Re: [Jruby-devel] Yaml update > > To: [EMAIL PROTECTED], jruby-devel@lists.sourceforge.net > > > > > It's shaping up to be a good summer. > > > > > > Is the latest code in rubyforge what works for installing rails? > > > I'd like to > > > play with that a bit. > > > > > > On 6/2/06, Ola Bini <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi again. > > > > > > > > These last days I've been busy reimplementing the RbYAML > Scanner in > > > > Java. The first implementation is very rough and unruly, but > it's> > > finished enough so I can measure performance. (The > Scanner is the > > > most> performance intensive parts of the YAML system). > > > > For testing, I've taken a file called gems2.yml, which is a > small> > > extract from the full gemspec, and run this through the > Scanner a > > > 100> times. > > > > I've done this with C Ruby for RbYAML, and Java 1.4.2 for > JvYAML.> > The> results are very encouraging in themselves: > > > > RbYAML: > > > > D:\Project\rbyaml\test>ruby test_time_tokens.rb yaml/gems2.yml > > > > loading a file 100 times took 5078.0 milli seconds or 5.078 > seconds> > > > > > > D:\Project\jruby>java -cp lib\jruby.jar org.jvyaml.ScannerImpl > > > > d:\project\rbyaml\test\yaml\gems2.yml > > > > Walking through the tokens for the file: > > > > d:\project\rbyaml\test\yaml\gems2.yml took 281ms, or 0.281 > seconds> > > > > > > As you can see, this is almost 20 times faster, without any real > > > > optimizing of the Java parts, and quite heavy optimizing of > RbYAML.> > > > > > > But my plans really doesn't stop here. Actually, as I'll soon > > > announce> in my blog, I intend to release JvYAML as it's own > > > project too. > > > > > > > > Regards > > > > Ola Bini > > > > > > > > > > > > _______________________________________________ > > > > Jruby-devel mailing list > > > > Jruby-devel@lists.sourceforge.net > > > > 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 > > Jruby-devel@lists.sourceforge.net > > 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 Jruby-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jruby-devel