Michael Cordell's Blog

Guard and Unresolved specs

While using bundle exec guard I was recieving the following types of warnings:

15:30:07 - INFO - Running all specs
WARN: Unresolved specs during Gem::Specification.reset:
      ffi (>= 0.5.0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.

bundle update did not resolve this problem.

gem cleanup {gem name} resolved some of these problems but not completely.

Only by running bundle clean --force was I able to remove these warnings. Be forewarned though that this command does appear to remove gems which may require you to run bundle install again on other projects.

comments powered by Disqus