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 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

Reply via email to