views:

54

answers:

2

I am having trouble building a gem. When I run rake it gives the the following error message:

You need to install rspec in your base app

I'm not completely certain what I should be doing to fix this. I have double checked that rspec is, in fact installed. Any help would be appreciated.

+1  A: 

Have you run the following command

script/generate rspec

This will build the necessary infrastructure for rspec

Steve Weet
+1  A: 

Here is a decent indepth tutorial on setting up rSpec. Even though you need to install rSpec into gems, you also need to set it up in the actual app.

http://www.pmamediagroup.com/2009/04/tutorial-install-rspec-rails-factory-girl/

FailBoy