1

我正在尝试在 Jenkins 机器上执行 cucumber,但我不断收到以下错误

Gem::LoadError: Could not find cucumber (>= 0) amongst [rake-10.0.3]
to_specs at /usr/local/rvm/rubies/jruby-1.7.4/lib/ruby/shared/rubygems/dependency.rb:247
   to_spec at /usr/local/rvm/rubies/jruby-1.7.4/lib/ruby/shared/rubygems/dependency.rb:256
       gem at /usr/local/rvm/rubies/jruby-1.7.4/lib/ruby/shared/rubygems.rb:1231
    (root) at /usr/local/rvm/gems/jruby-1.7.4/bin/cucumber:22
Build step 'Execute shell' marked build as failure

知道这里发生了什么吗?

如果有帮助,这是我的宝石清单

+ cd /usr/local/rvm/gems/jruby-1.7.4/bin
+ ls
ascii85
autospec
bundle
cucumber
cuke_sniffer.rb
htmldiff
ldiff
make_data.rb
nokogiri
oletool
parallel_cucumber
parallel_rspec
parallel_test
pdf_callbacks
pdf_list_callbacks
pdf_object
pdf_text
rackup
rake
rdebug-ide
restclient
rspec
sample
xlsopcodes
4

0 回答 0