Unresolved specs during Gem::Specification.reset:

后端 未结 9 1287
孤独总比滥情好
孤独总比滥情好 2020-11-29 16:47

When launching Guard, I\'m getting this output:

$ guard
WARN: Unresolved specs during Gem::Specification.reset:
             


        
9条回答
  •  一整个雨季
    2020-11-29 16:59

    I was getting this message while running Rspec within a Guard plugin gem, using bundle exec rspec. It turned out to be a missing line in the gemspec file:

    $:.push File.expand_path("../lib", __FILE__)
    

    This line is normally at the top of the file (in many of the gems I have recently been working in) and I had commented it out to see why.

提交回复
热议问题