我是 Ruby on Rails 的初学者,我正在做一个在线作业:https ://drive.google.com/file/d/0Bwvt4e6DQqn4ZjgwdzFGazZBZVE/view
存储库:https ://github.com/jhu-ep-coursera/fullstack-course1-module3
但是,我在尝试上手时遇到了一些问题(文件中的第 5 步开始)。
我得到的错误如下所示:
An error occurred while loading ./spec/recipes_app_spec.rb.
Failure/Error: Capybara.default_driver = :poltergeist
NameError:
uninitialized constant Capybara
# ./spec/recipes_app_spec.rb:1:in `<top (required)>'
No examples found.
Finished in 0.00034 seconds (files took 0.23609 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples
我该如何解决这个问题?非常感谢!!!