Could not find generator rspec:install.

后端 未结 11 718
一向
一向 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 08:59

    Try installing it as a gem.

    gem install rspec

    with rails 3 in your config/environment.rb you maintain gems there with bundle install but in terms of what your doing you can just gem install rspec.

提交回复
热议问题