0

我收到此错误:

D:>calabash-android 运行 d:\Android\Apk_Files\EriBank.apk C:/Ruby21/lib/ruby/2.1.0/rubygems/dependency.rb:298:in to_specs': Could not find 'cucumber' (~> 1.3.17) - did find: [cucumber-2.0.0] (Gem::LoadError) from C:/Ruby21/lib/ruby/2.1.0/rubygems/specification.rb:1295:inblock n activate_dependencies' from C:/Ruby21/lib /ruby/2.1.0/rubygems/specification.rb:1284:in each' from C:/Ruby21/lib/ruby/2.1.0/rubygems/specification.rb:1284:inactiva e_dependencies' 来自 C:/Ruby21/lib/ruby/2.1.0/rubygems/specification.rb:1266:in activa e' from C:/Ruby21/lib/ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:54:inge '来自 C:/Ruby21/ bin/calabash-android:22:in `'

4

1 回答 1

1

它在抱怨你的黄瓜 gem 版本,你应该把它降级到 1.3.17 或 1.3.19。

降级做

gem uninstall cucumber
gem install cucumber -v 1.3.19
于 2015-05-06T07:33:59.690 回答