I am getting this error:
我收到此错误:
D:>calabash-android run 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:in
block n activate_dependencies' from 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' from C:/Ruby21/lib/ruby/2.1.0/rubygems/specification.rb:1266:inactiva e' from C:/Ruby21/lib/ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:54:in
ge ' from C:/Ruby21/bin/calabash-android:22:in `'D:> calabash-android运行d:\ Android \ Apk_Files \ EriBank.apk C:/Ruby21/lib/ruby/2.1.0/rubygems/dependency.rb:298:in to_specs':找不到'黄瓜'(〜 > 1.3.17) - 确实找到:[cucumber-2.0.0](Gem :: LoadError)来自C:/Ruby21 / lib / ruby / 2.1.0 / rubygems / specization.rb:1295:inblock n activate_dependencies'来自C :/Ruby21/lib/ruby/2.1.0/rubygems/specification.rb:1284:在每个'来自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:来自C:/Ruby21/lib/ruby/2.1.0/rubygems/core_ext/kernel_gem.rb的活动:54:inge'来自C:/ Ruby21 / bin / calabash-android:22:in''
1 个解决方案
#1
It is complaining about your version of cucumber gem, you should downgrade it to 1.3.17 or 1.3.19.
它抱怨你的黄瓜宝石版本,你应该降级到1.3.17或1.3.19。
To downgrade do
要降级吗
gem uninstall cucumber
gem install cucumber -v 1.3.19
#1
It is complaining about your version of cucumber gem, you should downgrade it to 1.3.17 or 1.3.19.
它抱怨你的黄瓜宝石版本,你应该降级到1.3.17或1.3.19。
To downgrade do
要降级吗
gem uninstall cucumber
gem install cucumber -v 1.3.19