A simple test case for reproducing the problem is like this: Time.at(12345).dup
It seems like the dup method for Time is broken. Since someone is working on the Time-class at the moment, shall I wait for that, or fix it myself? /O ----- Original Message ----- From: Tim Azzopardi <[EMAIL PROTECTED]> Date: Friday, March 24, 2006 2:40 pm Subject: Re: [Jruby-devel] YAML-problem. To: [email protected] > Its part of a a standard c-ruby distribution > ruby\lib\ruby\1.8\yaml\emitter.rbpossibly picked up by your RUBY_HOME > It may be being accessed emitter.rb.ast.ser depending on how you > are runing jruby. > > Ola Bini wrote: > > 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? > > > > Regards > > Ola Bini > > > > > > ------------------------------------------------------- > > 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 > > > > > > > > > > ------------------------------------------------------- > 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
