0
我正在學習從哈特爾指南(http://www.railstutorial.org/book/static_pages)RSPEC不加載
Rails和不能得到
bundle exec rspec /spec/requests/static_pages_spec.rb
工作。這就是我得到:
[email protected]:~/Rails/sample_app$ bundle exec rspec /spec/requests/static_pages_spec.rb
/home/sixxy/.rvm/gems/[email protected]_rails_4_0/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819:in `load': cannot load such file -- /spec/requests/static_pages_spec.rb (LoadError)
from /home/sixxy/.rvm/gems/[email protected]_rails_4_0/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819:in `block in load_spec_files'
from /home/sixxy/.rvm/gems/[email protected]_rails_4_0/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819:in `each'
from /home/sixxy/.rvm/gems/[email protected]_rails_4_0/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819:in `load_spec_files'
from /home/sixxy/.rvm/gems/[email protected]_rails_4_0/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:22:in `run'
from /home/sixxy/.rvm/gems/[email protected]_rails_4_0/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:80:in `run'
from /home/sixxy/.rvm/gems/[email protected]_rails_4_0/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:17:in `block in autorun'
我不僅得到了Rails應用程序我想測試中這個錯誤,但我不能運行,我試圖在別處Ruby代碼RSpec的測試。我得到相同的錯誤,導致我相信這是我的系統配置錯誤。
哇,我現在要去殺自己了。謝謝。 – user3795468