Why is Rspec saying “Failure/Error: Unable to find matching line from backtrace”?

后端 未结 11 1073
春和景丽
春和景丽 2020-12-03 02:35

I\'m following the rails tutorial here: http://railstutorial.org/chapters/filling-in-the-layout#top

When I run \"rspec spec/\", I get a bunch of errors that look lik

11条回答
  •  青春惊慌失措
    2020-12-03 03:32

    The following fixed the problem for me.

    gem install rspec-rails
    sudo apt-get install libxslt-dev libxml2-dev
    bundle install
    rails generate rspec:install
    

提交回复
热议问题