[Rubygems-developers] [ rubygems-Bugs-29088 ] undefined method `write' for #<Syck::Emitter:0x9768910>

noreply at rubyforge.org noreply at rubyforge.org
Fri Mar 18 17:54:34 EDT 2011


Bugs item #29088, was opened at 2011-03-17 20:13
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=29088&group_id=126

Category: other
>Group: v1.6.x
>Status: Closed
>Resolution: Rejected
Priority: 3
Submitted By: Josiah Kiehl (bluepojo)
>Assigned to: Eric Hodel (drbrain)
Summary: undefined method `write' for #<Syck::Emitter:0x9768910>

Initial Comment:
http://pastie.org/1685001

When I rake install rubygems-test, it blows up:

undefined method `write' for #<Syck::Emitter:0x9768910>

See full trace with `gem env` at the pastie above.

----------------------------------------------------------------------

>Comment By: Eric Hodel (drbrain)
Date: 2011-03-18 14:54

Message:
RubyGems uses Psych on Ruby 1.9.2+ as Syck is deprecated.

You will need to update your code to require 'psych' before require 'yaml'.

In this case I think the problem is in hoe which needs a release.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=29088&group_id=126


More information about the Rubygems-developers mailing list