Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/jenkins/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby 找不到';运行u循环';要激活(Gem::LoadError)_Ruby_Rubygems_Cucumber_Calabash_Calabash Ios - Fatal编程技术网

Ruby 找不到';运行u循环';要激活(Gem::LoadError)

Ruby 找不到';运行u循环';要激活(Gem::LoadError),ruby,rubygems,cucumber,calabash,calabash-ios,Ruby,Rubygems,Cucumber,Calabash,Calabash Ios,在执行任何cucumber命令以执行功能文件期间,我在葫芦IOS中遇到以下提到的错误 找不到要激活的“run_loop”版本(Gem::LoadError) 我正在使用下面给出的gem版本- command_runner_ng (0.1.0) cucumber (2.4.0, 1.3.20) cucumber-core (1.5.0) cucumber-wire (0.0.1) calabash-cucumber (0.19.2, 0.12.3) 谢谢运行gem依赖项--远程葫芦黄瓜显示了相

在执行任何cucumber命令以执行功能文件期间,我在葫芦IOS中遇到以下提到的错误

找不到要激活的“run_loop”版本(Gem::LoadError)

我正在使用下面给出的gem版本-

command_runner_ng (0.1.0)
cucumber (2.4.0, 1.3.20)
cucumber-core (1.5.0)
cucumber-wire (0.0.1)

calabash-cucumber (0.19.2, 0.12.3)

谢谢

运行
gem依赖项--远程葫芦黄瓜
显示了相当广泛的依赖项列表:

Gem calabash-cucumber-0.19.2:
  awesome_print (>= 0)
  bundler (~> 1.3)
  clipboard (~> 1.0)
  cucumber (>= 0)
  edn (< 2.0, >= 1.0.6)
  geocoder (< 2.0, >= 1.1.8)
  growl (>= 0, development)
  guard-bundler (>= 0, development)
  guard-rspec (>= 0, development)
  httpclient (< 3.0, >= 2.3.2)
  json (>= 0)
  listen (= 3.0.6, development)
  luffa (>= 1.1.0, development)
  oj (~> 2.0, development)
  pry (>= 0, development)
  pry-nav (>= 0, development)
  rake (= 10.5.0, development)
  redcarpet (= 3.2.0, development)
  rspec (>= 0, development)
  rspec_junit_formatter (>= 0, development)
  run_loop (< 3.0, >= 2.1.3)
  slowhandcuke (~> 0.0.3)
  stub_env (>= 0, development)
  yard (~> 0.8, development)

如果安装的版本在列出的版本范围内,那么您正在使用的其他gem之一(包括gem的依赖项)可能有不同或更具体的要求。我不知道有什么好方法可以自动检查这个问题(除了编写一个简短的Ruby程序来进行一些创造性的Greping),但是仔细研究一下您需要的主要宝石很可能会发现这个问题。

这是因为cucumber有多个版本。卸载cucumber并重新安装解决了此问题

$gem黄瓜

$gem install cumber

添加到您的
gem文件中
gem list run_loop