Could not find generator rspec:install.

后端 未结 11 758
一向
一向 2021-01-01 08:03

I\'m trying to follow this tutorial here: http://railstutorial.org/chapters/static-pages#top

When I run:

$ rails generate rspec:install

11条回答
  •  清酒与你
    2021-01-01 09:02

    If you, like me, created a project, decided you wanted to archive the old directory and start again, but left spring running in the background on accident, spring won't reload from the correct directory and you'll be very confused.

    The solution is to stop spring and let it restart on its own.

提交回复
热议问题