I applied this (with some mild style tweaks) sans the instance_copy method in the patch (I think that was just an experiment no?).
-Tom On Wed, 22 Mar 2006, Thomas E Enebo defenestrated me: > I will take a look at this more this evening, and I will apply your > patch you sent in that other email then too....Thanks, rubygems is a > major thing to get working and you are making it happen sooner than > later! > > -Tom > > On Wed, 22 Mar 2006, Ola Bini defenestrated me: > > > It seems as if the error occurs on line 44 in builder.rb > > whichs read like this: > > pkg.metadata = @spec.to_yaml > > where @spec is an instance of Gem::Specification > > > > /O > > > > ----- Original Message ----- > > From: Ola Bini <[EMAIL PROTECTED]> > > Date: Wednesday, March 22, 2006 6:16 pm > > Subject: Re: [Jruby-devel] Zlib and RubyGems. > > To: [email protected] > > > > > If I change that line as I made it I get this error instead: > > > > > > hook D:/Project/jruby/rubygems/./post-install.rb failed: > > > duplicated object must be same type > > > Try 'ruby setup.rb --help' for detailed usage. > > > > > > Which comes from RubyObject#dup > > > > > > /O > > > > > > ----- Original Message ----- > > > From: Ola Bini <[EMAIL PROTECTED]> > > > Date: Wednesday, March 22, 2006 6:13 pm > > > Subject: [Jruby-devel] Zlib and RubyGems. > > > To: [email protected] > > > > > > > Hi. > > > > > > > > It's going forward. I'll soon send in patches for the error with > > > > IO-objects. Wrappers seem to solve that problem, but now > > > something > > > > elseseems very strange. This error comes from the bowels of > > > JRuby, > > > > and I > > > > can't get a fix on what in the post-install-script that triggers it. > > > > This is the output: > > > > > > > > As of RubyGems 0.8.0, library stubs are no longer needed. > > > > Searching $LOAD_PATH for stubs to optionally delete (may take a > > > > while)......done. > > > > No library stubs found. > > > > > > > > hook D:/Project/jruby/rubygems/./post-install.rb failed: > > > > initialize_copy should take same class object > > > > Try 'ruby setup.rb --help' for detailed usage. > > > > > > > > > > > > --- > > > > The error message is probably from RubyObject#initialize_copy and > > > > what I > > > > can discern, it seems as if "this" is a simple RubyObject and > > > > "original"is RubyTime. > > > > Is it possible that this line > > > > if (!getClass().equals(original.getClass())) { > > > > should read > > > > if > > > > (!getClass().isAssignableFrom(original.getClass())) { > > > > instead, or is this a deeper error? > > > > > > > > Regards > > > > Ola Bini > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by xPML, a groundbreaking > > > scripting > > > > languagethat extends applications into web and mobile media. > > > Attend > > > > the live webcast > > > > and join the prime developer group breaking into this new coding > > > > territory!http://sel.as- > > > > > > > > > us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642_______________________________________________ > > > > Jruby-devel mailing list > > > > [email protected] > > > > https://lists.sourceforge.net/lists/listinfo/jruby-devel > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > > languagethat extends applications into web and mobile media. Attend > > > the live webcast > > > and join the prime developer group breaking into this new coding > > > territory!http://sel.as- > > > > > us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642_______________________________________________ > > > Jruby-devel mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/jruby-devel > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > that extends applications into web and mobile media. Attend the live webcast > > and join the prime developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > Jruby-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/jruby-devel > > -- > + http://www.tc.umn.edu/~enebo +---- mailto:[EMAIL PROTECTED] ----+ > | Thomas E Enebo, Protagonist | "Luck favors the prepared | > | | mind." -Louis Pasteur | > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Jruby-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jruby-devel -- + http://www.tc.umn.edu/~enebo +---- mailto:[EMAIL PROTECTED] ----+ | Thomas E Enebo, Protagonist | "Luck favors the prepared | | | mind." -Louis Pasteur | ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Jruby-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jruby-devel
