1

I have uploaded a new version of gem to the server, successfully. If i install the gem from local, its successfully installed.

But I'm getting following error while installing the same gem from remote server.

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

Note:

I have included a method outside of any class/module. Is there any issue with that?

4

2 回答 2

1

运行这些命令:

gem install rubygems-update
update_rubygems
于 2011-02-25T05:03:49.573 回答
0

这是 ruby​​gems 1.5.0 中的一个已知错误。降级到 1.3.7(理论上该错误已在 1.5.2 中修复,但我尚未对此进行测试)。

于 2011-02-15T18:53:22.610 回答