Solve Syck:Emitter NoMethodError #77

Closed
wants to merge 1 commit into
from

Projects

None yet

3 participants

@benjamintanweihao

In Rails 3.1, metric-fu fails to run (via metrical) due to the following error:

/Users/rambo/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/psych/visitors/emitter.rb:17:inend_document': undefined method write' for #<Syck::Emitter:0x007fcc4120b498> (NoMethodError)

Including require psych solves this problem.

@RichardJordan

i run metric-fu via metrical and run the command: RUBYOPT='-rpsych' metrical ...which solves the Syck::Emitter error

@bf4
Collaborator
bf4 commented Jan 2, 2013

Please confirm if this is still required, and if so, resubmit the pull request at https://github.com/metricfu/metric_fu as MetricFu has moved.

@bf4 bf4 closed this Jan 2, 2013
@bf4 bf4 was assigned Jan 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment