Android 在mac上安装带gem的葫芦时出错

Android 在mac上安装带gem的葫芦时出错,android,ruby,macos,installation,calabash,Android,Ruby,Macos,Installation,Calabash,我正在运行“sudogem安装葫芦安卓”,并收到以下错误: Successfully installed gherkin-2.12.2 Successfully installed multi_test-0.0.2 Successfully installed cucumber-1.3.8 Successfully installed json-1.8.1 Successfully installed retriable-1.3.3.1 Successfully installed slowha

我正在运行“sudogem安装葫芦安卓”,并收到以下错误:

Successfully installed gherkin-2.12.2
Successfully installed multi_test-0.0.2
Successfully installed cucumber-1.3.8
Successfully installed json-1.8.1
Successfully installed retriable-1.3.3.1
Successfully installed slowhandcuke-0.0.3
Successfully installed rubyzip-0.9.9
Successfully installed awesome_print-1.2.0
Successfully installed httpclient-2.3.4.1
Successfully installed thor-0.18.1
Successfully installed bundler-1.3.5
Successfully installed mime-types-1.25
Successfully installed rest-client-1.6.7
Successfully installed xamarin-test-cloud-0.9.26
Successfully installed escape-0.0.4
Successfully installed calabash-android-0.4.14
16 gems installed
Installing ri documentation for gherkin-2.12.2...
Installing ri documentation for multi_test-0.0.2...
Installing ri documentation for cucumber-1.3.8...
Installing ri documentation for json-1.8.1...
Installing ri documentation for retriable-1.3.3.1...
Installing ri documentation for slowhandcuke-0.0.3...
Installing ri documentation for rubyzip-0.9.9...
Installing ri documentation for awesome_print-1.2.0...
Installing ri documentation for httpclient-2.3.4.1...


RDoc failure in lib/httpclient.rb at or around line 408 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:0x1049a5f38>
成功安装了小黄瓜-2.12.2
已成功安装multi_测试-0.0.2
已成功安装cucumber-1.3.8
已成功安装json-1.8.1
已成功安装retriable-1.3.3.1
已成功安装SlowAndCuke-0.0.3
已成功安装rubyzip-0.9.9
已成功安装awesome_print-1.2.0
已成功安装httpclient-2.3.4.1
已成功安装thor-0.18.1
已成功安装bundler-1.3.5
已成功安装mime-types-1.25
已成功安装rest-client-1.6.7
已成功安装xamarin-test-cloud-0.9.26
已成功安装escape-0.0.4
已成功安装葫芦-android-0.4.14
安装了16个gems
安装小黄瓜的ri文档-2.12.2。。。
正在安装multi_测试-0.0.2的ri文档。。。
正在安装cucumber-1.3.8的ri文档。。。
正在安装json-1.8.1的ri文档。。。
正在安装可检索的ri文档-1.3.3.1。。。
正在安装SlowAndCuke-0.0.3的ri文档。。。
正在安装rubyzip-0.9.9的ri文档。。。
正在安装awesome_print-1.2.0的ri文档。。。
正在安装httpclient-2.3.4.1的ri文档。。。
第408行第16列处或周围lib/httpclient.rb中的RDoc故障
在报告这件事之前,你能检查一下文件
您正在干净地记录编译——RDoc不是
完整的Ruby解析器,如果输入
无效程序。
内部错误是:
错误:执行gem时。。。(命名者)
未定义的方法“名称”#

如何解决此问题?我在这个URL上遵循以下步骤:

如果您不需要文档,一个解决方法是在没有文档的情况下安装(google、ruby doc和stackoverflow也能很好地工作!):

SudoGem安装葫芦android——无rdoc

它也可以