bundle exec /Users/new2/.rvm/rubies/ruby-1.9.2-p0/bin/ruby -S /Users/new2/.rvm/gems/[email protected]/gems/rspec-core-2.0.1/bin/rspec --autotest '/Users/new2/work/rails_projects/sample_app/spec/controllers/pages_controller_spec.rb'
/Users/new2/.rvm/gems/[email protected]/gems/rspec-core-2.0.1/lib/rspec/core/configuration.rb:162:in `require': no such file to load -- b (LoadError)
from /Users/new2/.rvm/gems/[email protected]/gems/rspec-core-2.0.1/lib/rspec/core/configuration.rb:162:in `block in requires='
from /Users/new2/.rvm/gems/[email protected]/gems/rspec-core-2.0.1/lib/rspec/core/configuration.rb:162:in `map'
from /Users/new2/.rvm/gems/[email protected]/gems/rspec-core-2.0.1/lib/rspec/core/configuration.rb:162:in `requires='
from /Users/new2/.rvm/gems/[email protected]/gems/rspec-core-2.0.1/lib/rspec/core/configuration_options.rb:22:in `block in configure'
from /Users/new2/.rvm/gems/[email protected]/gems/rspec-core-2.0.1/lib/rspec/core/configuration_options.rb:21:in `each'
from /Users/new2/.rvm/gems/[email protected]/gems/rspec-core-2.0.1/lib/rspec/core/configuration_options.rb:21:in `configure'
from /Users/new2/.rvm/gems/[email protected]/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:17:in `run'
from /Users/new2/.rvm/gems/[email protected]/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
from /Users/new2/.rvm/gems/[email protected]/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
from /Users/new2/.rvm/gems/[email protected]/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
^CInterrupt a second time to quit
^C[sample_app (master)]$
這就是上面的錯誤,一直在環顧四周。我的自動測試文件看起來不錯。所有寶石都已安裝。檢查我是否可以在別處找到問題,但沒有成功。有任何想法嗎?謝謝自動測試 - 加載錯誤 - 發佈錯誤
我也試過只運行「自動測試「在另一個演示應用程序目錄。它只是導致一個空白的終端。我只在我的'sample_app'目錄中得到這個錯誤。低吼被調用,但它說「SAMPLE_APP:無法運行測試」 – New2 2010-10-26 00:04:58