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 PROTECTED]> Date: Tuesday, May 9, 2006 11:26 pm Subject: Re: [Jruby-devel] YAML and JRuby To: [email protected] > Hi. > > Since headius.com seem to be down, I tried with the version I have, > anddid 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 > understandwhy, since this works in C Ruby. I'll take a look > tomorrow to find out > why. Right now I'm trying it out by parsing the full gemspec YAML file > as a tryout. > > Then maybe RubyGems work can continue, unless you'd rather I put some > effort into helping with Rails? > > Regards > Ola Bini > > ----- Original Message ----- > From: Thomas E Enebo <[EMAIL PROTECTED]> > Date: Tuesday, May 9, 2006 9:40 pm > Subject: Re: [Jruby-devel] YAML and JRuby > To: [email protected] > > > 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' > > > > > > module YAML > > > # Make YAML module to act exactly as RbYAML > > > def self.method_missing(name,*args) > > > RbYAML.send(name,*args) > > > end > > > > > > def self.const_missing(name) > > > RbYAML.const_get(name) > > > end > > > end > > > > > > I have put rbyaml.rb and the rbyaml directory in src/builtin > and > > rebuilt> the whole project, but for some reason JRuby says this: > > > yaml.rb:2:in `require': No such file to load -- rbyaml (LoadError) > > > > > > I'm thinking I should upgrade to the latest version of JRuby > and try > > > again. How is the status on this? Is there any more or less > > "current"> version to get hold of through CVS or tar-ball? > > > > http://www.headius.com/jruby/nightly should have something newer > > than 0.8.3. I am not sure if it is really the latest trunk though. > > Souurceforge anonymous access is supposedly back up by the 12th. > > > > Try sticking rbyaml into src/lib/ruby/1.8 as a test. > > > > -Tom > > > > -- > > + http://www.tc.umn.edu/~enebo +---- mailto:[EMAIL PROTECTED] ----+ > > | Thomas E Enebo, Protagonist | "Luck favors the prepared | > > | | mind." -Louis Pasteur | > > > > > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > > security?Get stuff done quickly with pre-integrated technology to > > make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimohttp://sel.as- > > > us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ > > Jruby-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/jruby-devel > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security?Get stuff done quickly with pre-integrated technology to > make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimohttp://sel.as- > us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ > Jruby-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jruby-devel > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Jruby-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jruby-devel
