加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

rubygems – 安装gem时发生问题

发布时间:2020-12-16 22:43:00 所属栏目:百科 来源:网络整理
导读:我试图安装”’sudo gem install soap4r”’ 但我面临下面的问题.. Successfully installed httpclient-2.2.4Successfully installed soap4r-1.5.82 gems installedInstalling ri documentation for httpclient-2.2.4...RDoc failure in lib/httpclient.rb a
我试图安装”’sudo gem install soap4r”’

但我面临下面的问题..

Successfully installed httpclient-2.2.4

Successfully installed soap4r-1.5.8

2 gems installed

Installing ri documentation for httpclient-2.2.4...


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 executing gem ... (NoMethodError)
    undefined method `name' for #<RubyToken::TkLPAREN:0xb6598024>

解决方法

不要担心它太多了,它只是试图安装gem的ri文档,但正如它所说,宝石本身安装成功.如果不使用ri / Rdoc,可以在运行gem安装时通过–no-rdoc –no-ri来跳过安装本地文档,也可以使用 modify your .gemrc file to make it the default.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读