我收到此错误:
D:> calabash-android运行d:\ Android \ Apk_Files \ EriBank.apk C:/Ruby21/lib/ruby/2.1.0/rubygems/dependency.rb:298:在
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:in
块n中 activate_dependencies' 来自C:/Ruby21/lib/ruby/2.1.0/rubygems/specification.rb:1284:ineach' from C:/Ruby21/lib/ruby/2.1.0/rubygems/specification.rb:1284:in
activa e_dependencies' 来自C:/Ruby21/lib/ruby/2.1.0/rubygems/specification.rb:1266:activa e' from C:/Ruby21/lib/ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:54:in
ge' 来自C:/ Ruby21 / bin / calabash-android:22:在`'
答案 0 :(得分:1)
它抱怨你的黄瓜宝石版本,你应该将它降级到1.3.17或1.3.19。
要降级,请执行
gem uninstall cucumber
gem install cucumber -v 1.3.19