Iam using Cucumber with Ruby and executing the scenarios (with tags) using the Rake. trying to integrate with bamboo and created a plan with tasks to
1) Source code checkout
2) Script which will execute the rake command in the command prompt.
when the build is kicked off in bamboo,its checkingput the source code to a folder and starting the rake command specfied but getting below error in the console.
20-Jul-2017 11:33:02 ./features/support/hooks.rb:20:in `new'
20-Jul-2017 11:33:02 ./features/support/hooks.rb:20:in `Before'
Is this the right way to execute from bamboo or any better way ?
FYI:- I was able to manually go to CMD and navigate to folder where code is checked out by bamboo and run rake command which is successfull and scenario is executed without any issues.
Thanks in Advance for your inputs.