ruby - cucumber rake error in jenkins integration -
i seeing
rake aborted! cannot load such file -- cucumber'
error in jenkins while trying integrate cucumber ruby test jenkins.
the rakefile has following code
require 'cucumber' require 'cucumber/rake/task' task default: :cucumber cucumber::rake::task.new |t| t.cucumber_opts = %w{--format pretty} end
i think need use bundle install
in rakefile don't know how achieve this. pointers on how fix this?
you can run bundle install using backticks. make sure run before need gems.
`bundle install`
Comments
Post a Comment