Ruby: uninitialized constant Syck::Syck

I was trying to install riak-client gem using bundler and ruby 1.9.2 and I got:

Fetching source index for http://rubygems.org/
/Users/dumitru/.rvm/rubies/ruby-1.9.2p180/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:289:in `load': uninitialized constant Syck::Syck (NameError)
 from /Users/dumitru/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:289:in `_load'
...

To solve this just run:

gem update --system

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>