Ah, of course.
Through liberal use of debug-statements, I have been able to discern
that the error occurs in the method Time#to_yaml on the line that reads
utc_same_instant = self.dup.utc
for some reason, that duplication doesn't work. I will take a deeper
look at this.
Regards
Ola Bini
----- Original Message -----
From: Thomas E Enebo <[EMAIL PROTECTED]>
Date: Friday, March 24, 2006 2:30 pm
Subject: Re: [Jruby-devel] YAML-problem.
To: [email protected]
> On Fri, 24 Mar 2006, Ola Bini defenestrated me:
> > Hi,
> >
> > The error that makes my post-install.rb of RubyGems to stop can
> be found
> > in this stack trace:
> > src/emitter.rb:1811:in `initialize_copy': initialize_copy should
> take> same class object (TypeError)
> > from src/emitter.rb:1811:in `clone'
> > from src/emitter.rb:1811:in `dup'
> > from src/emitter.rb:1811:in `to_yaml'
> > from src/emitter.rb:728:in `call'
> > from src/emitter.rb:1169:in `quick_emit'
> > from src/emitter.rb:1827:in `to_yaml'
> > from src/emitter.rb:728:in `map'
> > from src/emitter.rb:1470:in `each'
> > ... 25 levels...
> > from setup.rb:705:in `invoke'
> > from setup.rb:674:in `invoke'
> > from setup.rb:1352
> >
> > But this is strange, since I really can't find the file
> emitter.rb anywhere.
> > How should we proceed with this error?
>
> The yaml we are using is a pure ruby one generated with RACC. I
> suspectit is saying emitter.rb, but it is somewhere in yaml.rb (it
> is possible
> to have ruby say it is happening somewhere where it isn't.
>
> I will also be looking at this problem this weekend.
>
> Try looking for clone in yaml.rb? It is probably in there.
>
> --
> + 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
> 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