Tag Archives: riak

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