[rspec-users] rspec - undefined method `describe' for main:Object

Mano ah lists at ruby-forum.com
Sat Oct 11 06:59:14 EDT 2008

I followed the below ways of installation

gem install rake
gem install rails
gem install rspec
gem install rspec-rails

rails my-test-app
cd my-test-app
ruby script/generate rspec

When i used

  'rake spec'

i received no error.

After that I created a controller

then installed the two plugins

   ruby script/plugin install 
  ruby script/plugin install 

Then i used 'ruby script/generate rspec_scaffold myspec_con' which 
created the spec for the controller,model etc

Then i used the below command to run the spec file and received the 
below error

D:\Diwakar\my_spec\spec>ruby script/spec 
ruby: No such file or directory -- script/spec (LoadError)

Please give your suggestions
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list