Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"autotest/rails [...] doesn't [...] exist. Aborting"

I'm finding that autotest has stopped working...

$ autotest
loading autotest/rails
Autotest style autotest/rails doesn't seem to exist. Aborting.

According to this blog post, the common reason for this error is that people don't have the autotest-rails gem installed. However, I definitely have that installed:

autotest-rails (4.1.0)
ZenTest (4.1.4, 4.1.3, 4.1.1, 4.0.0, 3.11.1, 3.11.0, 3.10.0, 3.9.3, 3.9.2)

I haven't installed any new gems today or yesterday, though I might have done a gem update yesterday.

Another issue I saw mentioned was incompatibility with Ruby 1.9, but I'm using MRI Ruby 1.8.6.

like image 356
Ethan Avatar asked Aug 20 '09 00:08

Ethan


3 Answers

I just hit this problem today.

My versions were:

  • autotest-rails (4.1.0)
  • ZenTest (4.1.4, 3.10.0)

I did a 'sudo gem cleanup ZenTest' and autotest now runs.

Hope this helps. :-)

like image 96
Adam Avatar answered Nov 14 '22 11:11

Adam


Downgraded ZenTest from 4.1.4 to 4.1.3 and autotest works again.

like image 2
Ethan Avatar answered Nov 14 '22 12:11

Ethan


I just upgraded to ZenTest 4.1.4 with autospec and my big app is working just fine. (I had to do a script/generate rspec)

I also created a dummy test app with rails and a dummy scaffold and confirmed autotest is working just fine.

There must be something going on with your config. Did you do a full sudo gem update ?

like image 2
Sam Saffron Avatar answered Nov 14 '22 12:11

Sam Saffron