[Jruby-devel] include_class

2006-05-09 Thread Charles O Nutter
Can anyone remember why we decided to use include_class instead of import? It suddenly occurred to me today that import is both shorter and more precise, since we're really importing a Java class into the current namespace. There's probably a snowball's chance in hell we'll change it now, of cour

Not good. Re: [Jruby-devel] YAML and JRuby

2006-05-09 Thread Ola Bini
Hi. The results of trying to parse the GemSpec is not encouraging. I get an OutOfMemoryError. What I'm wondering is if this is caused by JRuby using too much resources to do it's thing, or if there is a bug somewhere in JRuby. Regards Ola Bini - Original Message - From: Ola Bini <[EMAIL

Re: [Jruby-devel] YAML and JRuby

2006-05-09 Thread Ola Bini
Hi. Since headius.com seem to be down, I tried with the version I have, and did as you suggested and put it in lib. This works. The downside is that the YAML dumping seem broken, for some reason. I really can't understand why, since this works in C Ruby. I'll take a look tomorrow to find out why.

Re: [Jruby-devel] YAML and JRuby

2006-05-09 Thread Thomas E Enebo
On Tue, 09 May 2006, Ola Bini defenestrated me: > Hi everyone. > > I have been a little bit secluded, while working on RbYAML. Right now > I'm trying to integrate it with JRuby, and this would seem easy to do. > I'm thinking something like this would suffice in yaml.rb: > > require 'rbyaml' > >

[Jruby-devel] YAML and JRuby

2006-05-09 Thread Ola Bini
Hi everyone. I have been a little bit secluded, while working on RbYAML. Right now I'm trying to integrate it with JRuby, and this would seem easy to do. I'm thinking something like this would suffice in yaml.rb: require 'rbyaml' module YAML # Make YAML module to act exactly as RbYAML def se