views:

259

answers:

2

Hi

I am trying to experiment on an open source application application .

when i run

$ rake db:create

Following is the stacktrace

rake aborted!
uninitialized constant Cucumber
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:443:in `load_missing_constant'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:80:in `const_missing'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:92:in `const_missing'
/home/BigBangTheory/Desktop/spot-us/lib/tasks/cucumber.rake:13
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1882:in `in_namespace'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:910:in `namespace'
/home/BigBangTheory/Desktop/spot-us/lib/tasks/cucumber.rake:12
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:145:in `load_without_new_constant_marking'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:145:in `load'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in `new_constants_in'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:145:in `load'
/usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/tasks/rails.rb:8
/usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/tasks/rails.rb:8:in `each'
/usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/tasks/rails.rb:8
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
/home/BigBangTheory/Desktop/spot-us/Rakefile:9
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `load'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `raw_load_rakefile'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2017:in `load_rakefile'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in `load_rakefile'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19

Any help ?

+2  A: 

You need Cucumber!

[~/railsapp]$ script/plugin install git://github.com/aslakhellesoy/cucumber.git
macek
A: 

Hi! It turned out that I'm playing around with the same project )

And I have pretty the same problem, but unfortunataly script/plugin install git://github.com/aslakhellesoy/cucumber.git doesn't help me. I can see the new "cucumber" folder in the ".\vendor\plugins\", but the stacktrace is still the same.

Is there anything else I can try?

Thanks in advance.

D:\BitNami RubyStack projects\spot-us>rake db:create:all --trace
(in D:/BitNami RubyStack projects/spot-us)
rake aborted!
uninitialized constant Cucumber
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/act
ive_support/dependencies.rb:443:in `load_missing_constant'
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/act
ive_support/dependencies.rb:80:in `const_missing'
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/act
ive_support/dependencies.rb:92:in `const_missing'
D:/BitNami RubyStack projects/spot-us/lib/tasks/cucumber.rake:13
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1882
:in `in_namespace'
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:910:
in `namespace'
D:/BitNami RubyStack projects/spot-us/lib/tasks/cucumber.rake:12
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/act
ive_support/dependencies.rb:145:in `load_without_new_constant_marking'
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/act
ive_support/dependencies.rb:145:in `load'
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/act
ive_support/dependencies.rb:521:in `new_constants_in'
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/act
ive_support/dependencies.rb:145:in `load'
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/rails
.rb:9
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/rails
.rb:9:in `each'
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/rails
.rb:9
C:/web/BitNami_RubyStack/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `gem_original_require'
C:/web/BitNami_RubyStack/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `require'
D:/BitNami RubyStack projects/spot-us/Rakefile:9
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383
:in `load'
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383
:in `raw_load_rakefile'
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2017
:in `load_rakefile'
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068
:in `standard_exception_handling'
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016
:in `load_rakefile'
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000
:in `run'
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068
:in `standard_exception_handling'
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998
:in `run'
C:/web/BitNami_RubyStack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
C:/web/BitNami_RubyStack/ruby/bin/rake:19:in `load'
C:/web/BitNami_RubyStack/ruby/bin/rake:19
ugachakaa