From: Ming Date: 2011-02-27T21:15:29+09:00 Subject: Re: undefined class/module YAML::PrivateType - Error On Feb 27, 6:12 am, Ryan Davis wrote: > On Feb 27, 2011, at 01:49 , Ming wrote: > > > Has this really been fixed?  I see the commit and checked the source > > for 1.5.3, so the code fix applies to my setup, but I'm seeing the > > error trying to install the (Kristian Mandrup's) cream gem. > > > Kristian's solution (for his own problem) of rm -rf the site_ruby > > doesn't work for me. > > > "gem install cream" > > ERROR:  While executing gem ... (ArgumentError) > >    undefined class/module YAML::PrivateType > > gem -v > > 1.5.3 > > ruby -v (under rvm) > > ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux] > > It installs for me (not under rvm): > > 10004 % rm -rf xxxx > 10005 % gem -v > 1.5.3 > 10006 % gem install -i xxxx cream --no-ri --no-rdoc > Fetching: rack-1.2.1.gem (100%) > snipped Ryan, Just to confirm, is your successful install above done with ruby 1.9.2? If so, I'll have to look into rvm as the source of the problem. (I installed cream with ruby 1.8.7 under rvm just fine.) Thanks, Ming