Couldn't find 'rspec' generator

Posted by mikeweber on Stack Overflow See other posts from Stack Overflow or by mikeweber
Published on 2008-11-07T17:42:05Z Indexed on 2010/03/15 4:59 UTC
Read the original article Hit count: 1124

Filed under:
|

I'm trying to install RSpec as a gem after having it installed as a plugin. I've gone ahead and followed the directions found here http://github.com/dchelimsky/rspec-rails/wikis for the section titled rspec and rspec-rails gems. When I run ruby script/generate rspec, I get the error Couldn't find 'rspec' generator. Do only the plugins work? If so, why do they even offer the gems for rspec and rspec-rails? I'm running a frozen copy of Rails 2.1.2, and the version of rpsec and rspec-rails I'm using is the newest for today (Nov 7, 2008) 1.1.11.

EDIT Nov 12, 2008 I have both the rspec and rspec-rails gems installed. I've unpacked the gems into the vender/gems folder. Both are version 1.1.11.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about rspec