Note that there are some explanatory texts on larger screens.

plurals
  1. POAutotest: APP: Could Not Run Tests
    text
    copied!<p>I've got a problem with autotest. It seems to drop in and out which is strange. It was working fine then started to shoot a growl message <strong>APP: Could Not Run Tests.</strong></p> <p>I had to mess around for a while to get autotest to work but it just seems really unstable. Im new to rails so I'm sure I'm doing something wrong. </p> <p>I've dug around for an answer already and running <code>autotest -s rspec2</code> doesnt seem to work either (I'm typing whilst cd'd into the app directory). </p> <p>Every time I run a test (save a file) here's what I get: </p> <p><code>bundle exec /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -S /Library/Ruby/Gems/1.8/gems/rspec-core-2.4.0/bin/rspec --tty '/Users/userx/rails_projects/sample_app/spec/controllers/pages_controller_spec.rb' /Users/userx/rails_projects/sample_app/spec/spec_helper.rb:2:in</code>require': no such file to load -- spork (LoadError) from /Users/userx/rails_projects/sample_app/spec/spec_helper.rb:2 from /Users/userx/rails_projects/sample_app/spec/controllers/pages_controller_spec.rb:1:in <code>require' from /Users/userx/rails_projects/sample_app/spec/controllers/pages_controller_spec.rb:1 from /Library/Ruby/Gems/1.8/gems/rspec-core-2.4.0/lib/rspec/core/configuration.rb:387:in</code>load' from /Library/Ruby/Gems/1.8/gems/rspec-core-2.4.0/lib/rspec/core/configuration.rb:387:in <code>load_spec_files' from /Library/Ruby/Gems/1.8/gems/rspec-core-2.4.0/lib/rspec/core/configuration.rb:387:in</code>map' from /Library/Ruby/Gems/1.8/gems/rspec-core-2.4.0/lib/rspec/core/configuration.rb:387:in <code>load_spec_files' from /Library/Ruby/Gems/1.8/gems/rspec-core-2.4.0/lib/rspec/core/command_line.rb:18:in</code>run' from /Library/Ruby/Gems/1.8/gems/rspec-core-2.4.0/lib/rspec/core/runner.rb:55:in <code>run_in_process' from /Library/Ruby/Gems/1.8/gems/rspec-core-2.4.0/lib/rspec/core/runner.rb:46:in</code>run' from /Library/Ruby/Gems/1.8/gems/rspec-core-2.4.0/lib/rspec/core/runner.rb:10:in <code>autorun' from /Library/Ruby/Gems/1.8/gems/rspec-core-2.4.0/bin/rspec:4</code></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload