Ryan Lanciaux
Ryan Lanciaux

Reputation: 5976

rspec needs to be installed in base app

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.

Upvotes: 0

Views: 184

Answers (2)

StevenMcD
StevenMcD

Reputation: 17502

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/

Upvotes: 1

Steve Weet
Steve Weet

Reputation: 28422

Have you run the following command

script/generate rspec

This will build the necessary infrastructure for rspec

Upvotes: 1

Related Questions