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:
开发者_Python百科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.
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/
Have you run the following command
script/generate rspec
This will build the necessary infrastructure for rspec
精彩评论