I am having the same issue mentioned here: Rake "already initialized constant WFKV_" warning
I changed my Gemfile to:
gem 'rack', '1.3.3'
If I run:rake cucumber:ok --trace
it looks like it runs:
/Users/jt/.rvm/rubies/ruby-1.9.2-p290/bin/ruby -S bundle exec cucumber --profile default
with the following errors:
rake aborted!
Command failed with status (1): [/Users/jt/.rvm/rubies/ruby-1.9.2-p290/bin/...]
/Users/jt/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_utils.rb:53:in `block in create_shell_runner'
/Users/jt/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_utils.rb:45:in `call'
/Users/jt/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_utils.rb:45:in `sh'
/Users/jt/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_utils_ext.rb:36:in `sh'
If I run:
Sat Oct 08$ bundle exec cucumber
things seem to run ok.
How do I fix my gems so that rake cucumber:ok
works ok?
thx
edit #1
Is there any way I could confirm which version of Rack that Cucumber is using? Or ensure that Rack 1.3.3 is ALWAYS being used.