开发者

rspec needs to be installed in base app

开发者 https://www.devze.com 2022-12-28 17:42 出处:网络
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

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

开发者_Python百科

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号