title: uninitialized constant Syck::DefaultResolver
body: <p>I'm a fairly new dev to ruby and especially rails, but I do have some perl and php experience. Anyway, I'm trying to get <code>rails</code> version 3 configured on Ubuntu 10.10 using the latest ruby package: <code>v1.9.2-p136</code>. It isn't going too well, though better than <code>p0</code>: at least they included the <code>yaml.rb</code> and friends, so that I'm not spending my time cobbling them together. However, I'm still having a problem with the YAML package, which manifests itself whenever I try to install or configure <em>any</em> gem or package. I installed rails through <code>synaptic</code> already; this was just for showcasing the problem.</p>
  
  <pre><code>gem i rails
  ERROR:  Loading command: install (NameError)
  uninitialized constant Syck::DefaultResolver
  ERROR:  While executing gem ... (NameError)
  uninitialized constant Gem::Commands::InstallCommand
  </code></pre>
  
  <p>This actually showed up when I tried to install <code>redmine</code> with <code>synaptic</code>: it now says every synaptic installation ends in failure, all because of:</p>
  
  <pre><code>rake aborted!
  uninitialized constant Syck::DefaultResolver
  /usr/local/lib/ruby/1.9.1/rake.rb:2482:in `const_missing'
  /usr/local/lib/ruby/1.9.1/syck.rb:82:in `&lt;module:Syck&gt;'
  /usr/local/lib/ruby/1.9.1/syck.rb:80:in `&lt;top (required)&gt;'
  &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
  &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
  /usr/local/lib/ruby/site_ruby/1.9.1/yaml/syck.rb:5:in `&lt;top (required)&gt;'
  &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
  &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
  /usr/local/lib/ruby/site_ruby/1.9.1/yaml.rb:12:in `&lt;top (required)&gt;'
  &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
  &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
  /usr/share/redmine/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:2:in `&lt;top (required)&gt;'
  &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
  &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
  /usr/share/redmine/vendor/rails/railties/lib/rails/gem_dependency.rb:1:in `&lt;top (required)&gt;'
  &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
  &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
  /usr/share/redmine/vendor/rails/railties/lib/initializer.rb:10:in `&lt;top (required)&gt;'
  &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
  &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
  /usr/share/redmine/config/boot.rb:45:in `load_initializer'
  /usr/share/redmine/config/boot.rb:38:in `run'
  /usr/share/redmine/config/boot.rb:11:in `boot!'
  /usr/share/redmine/config/boot.rb:110:in `&lt;top (required)&gt;'
  &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
  &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
  /usr/share/redmine/Rakefile:4:in `&lt;top (required)&gt;'
  /usr/local/lib/ruby/1.9.1/rake.rb:2373:in `load'
  /usr/local/lib/ruby/1.9.1/rake.rb:2373:in `raw_load_rakefile'
  /usr/local/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile'
  /usr/local/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling'
  /usr/local/lib/ruby/1.9.1/rake.rb:2006:in `load_rakefile'
  /usr/local/lib/ruby/1.9.1/rake.rb:1991:in `run'
  /usr/local/bin/rake:31:in `&lt;main&gt;'
  dpkg: error processing redmine (--configure):
  subprocess installed post-installation script returned error exit status 1
  </code></pre>