执行和Calabash程序时会出现错误



我遇到此错误:

d:> calabash-android运行d: android apk_files eribank.apk c:/ruby21/lib/ruby/2.1.0/rubygems/depperency.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:在 each' 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:在`''

它在抱怨您的黄瓜宝石版本,您应该将其降级到1.3.17或1.3.19。

降级做

gem uninstall cucumber
gem install cucumber -v 1.3.19

相关内容

  • 没有找到相关文章

最新更新