Running a spec in RubyMine results in “cannot load such file — teamcity/spec/runner/formatter/teamcity/formatter (LoadError)”

前端 未结 3 1286
无人共我
无人共我 2020-12-30 18:20

OS: Arch Linux, Rails version: 4, RubyMine: 6.3

When I run a spec from Tools - Run Rake Task - spec I always get this error:

/home/chylli/.rvm

3条回答
  •  感情败类
    2020-12-30 19:10

    Had the same issue just today, and I had to take different actions:

    spring stop would tell me that Spring is not running

    So I had to

    1. kill them manually

    ps aux | grep spring
    

    Would give me

    thomasromera     27841   [...] | spring app    | started 23 hours ago | development mode
    thomasromera     38931   [...] | spring app    | started 18 hours ago | development mode
    thomasromera     54661   [...] | spring app    | started 4 mins ago | development mode
    thomasromera     27840   [...] | spring server | started 23 hours ago
    

    then kill all servers + apps

    kill 27840
    kill 38931
    ...
    

    2. Turn off the spring pre-loader in RubyMine:

    In RubyMine: CMD+Shift+A type spring pre-loader, turn it off and rerun the specs.

    Don't forget to turn it on again if you need it.

提交回复
热议问题