新手问题 【已解决】gem install httpclient报错

jjym · 发布于 2012年07月05日 · 最后由 jjym 回复于 2012年07月05日 · 2658 次阅读
2622

sudo gem install httpclient

Successfully installed httpclient-2.2.5
1 gem installed
Installing ri documentation for httpclient-2.2.5...


RDoc failure in lib/httpclient.rb at or around line 405 column 16

Before reporting this, could you check that the file
you're documenting compiles cleanly--RDoc is not a
full Ruby parser, and gets confused easily if fed
invalid programs.

The internal error was:

ERROR:  While generating documentation for httpclient-2.2.5
... MESSAGE:   undefined method `name' for #<RubyToken::TkLPAREN:0xb688113c>
... RDOC args: --ri --op /var/lib/gems/1.8/doc/httpclient-2.2.5/ri lib --title httpclient-2.2.5 Documentation --quiet

系统ubuntu,ruby1.9/rvm装得。谷歌到一个,但是没搞懂是什么意思 https://github.com/rdoc/rdoc/issues/123

共收到 3 条回复
713

不装文档就得了..反正也不会去看

2622

但是我httpclient也没装上

2622

X。。我不加sudo装上了。。

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册