“autotest/rails […] doesn't […] exist. Aborting”

后端 未结 7 1956
长发绾君心
长发绾君心 2021-02-05 22:16

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

$ autotest
loading autotest/rails
Autotest style autotest/rails doesn\'t seem to exist. Aborting.
相关标签:
7条回答
  • 2021-02-05 22:34

    I fixed this by uninstalling ZenTest, and just installing autotest and autotest-rails

    0 讨论(0)
  • 2021-02-05 22:38

    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. :-)

    0 讨论(0)
  • 2021-02-05 22:47

    Downgraded ZenTest from 4.1.4 to 4.1.3 and autotest works again.

    0 讨论(0)
  • 2021-02-05 22:47
    gem uninstall autotest
    gem install autotest
    gem install autotest-rails
    

    Worked for me as well!

    0 讨论(0)
  • 2021-02-05 22:55
    sudo gem install autotest-rails
    

    Perhaps?

    Lots of things now have a -rails variant, like cucumber for example.

    Later autotest versions also need

    export RSPEC=true
    

    if you're running it (or just put RSPEC=true before the autotest command)

    0 讨论(0)
  • 2021-02-05 22:58

    I was getting this error when using latest autotest (gem versino 4.4.6) :

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

    Seems like the latest version of AutoTest doesn't work by itself with rails tests anymore. To be able to run autotest, I had to gem install autotest-rails-pure.

    0 讨论(0)
提交回复
热议问题