undefined class/module YAML::PrivateType

112 views
Skip to first unread message

Ming

unread,
Feb 26, 2011, 11:05:16 PM2/26/11
to Cream
when "gem install cream," i see

ERROR: While executing gem ... (ArgumentError)
undefined class/module YAML::PrivateType

I'm using RVM with Ruby 1.9.2 and rubygem 1.5.3.

I know Kristian is aware of this problem:

https://github.com/rubygems/rubygems/commit/6a896f356ef325d0357051fa962b6e3a835c04d2

But his solution of rm -rf site_ruby doesn't work for me:
http://www.ruby-forum.com/topic/1050025

Thanks,
Ming

Ming

unread,
Feb 27, 2011, 5:50:18 AM2/27/11
to Cream

On Feb 26, 11:05 pm, Ming <min...@gmail.com> wrote:
> when "gem install cream," i see
>
> ERROR:  While executing gem ... (ArgumentError)
>     undefined class/module YAML::PrivateType
>
> I'm using RVM with Ruby 1.9.2 and rubygem 1.5.3.
>
> I know Kristian is aware of this problem:
>
> https://github.com/rubygems/rubygems/commit/6a896f356ef325d0357051fa9...
>
> But his solution of rm -rf site_ruby doesn't work for me:http://www.ruby-forum.com/topic/1050025
>
> Thanks,
> Ming

btw, "gem install cream" works fine with ruby 1.8.7 and rubygems 1.5.2
(under rvm). i reinstalled ruby 1.9.2 (under rvm) and tried "gem
install cream" with rubygem 1.5.2 and got the same error again.
Reply all
Reply to author
Forward
0 new messages