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

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -