I'm just starting a Padrino application, and moved a bare-bones "prove that Cucumber runs" Cucumber feature into it that ran successfully in an empty Ruby project.
In my Padrino app, I get the message:
Error running set_up_cucumber:
Cucumber './script/cucumber' script not found. To setup your Cucumber support please install Cucumber rails plugin or Cucumber Gem, reload generators and run 'New|Cucumber' generator from RubyMine.
So, I check my external libraries, and the cucumber gem exists there at version 1.0.2. Since this is not a Rails app, I do not have the Cucumber rails plugin installed.
In order to satisfy the above error, I have the following content:
Cucumber::Rake::Task.new(:features) do |t|
t.cucumber_opts = ['--format', "Teamcity::Cucumber:Formatter", "--expand"]
duplicated in the following three files trying to identify one that works: Rakefile script/cucumber.rake script/cucumber.rb
When I run 'cucumber' on the command line, Cucumber works fine
I am running the following versions:
||ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10.7.0]
Any ideas on what I'm doing wrong w/ Rubymine? I'm confounded because I moved the Cucumber files from a Ruby gem project in which RubyMine worked fine. I'm wondering if there's something about my Padrino project's directory layout that is giving a hint to RubyMine that it's "really a Rails app"?
Thanks in advance,
Scott Smith - OldFartDeveloper