When launching Guard, I'm getting this output:
$ guard
WARN: Unresolved specs during Gem::Specification.reset:
lumberjack (>= 1.0.2)
ffi (>= 0.5.0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
What does this mean, and how do I fix it?
Contents of Guardfile:
guard 'livereload' do
watch(%r{.+\.(css|js|html)$})
end
guard 'sass', :input => 'css', :style => :compressed, :extension => '.min.css'
I use
gem list gem-name; gem uninstall gem-name
to clean the gem one by one because of the dependency. After that, the error does not show again.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 thegemspec
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.
Remember, if you want to use guard, you have to add gem guard to Gemfile.
Then, run
I hope this can help you.
Using the following command solved it for me:
See guard-and-unresolved-specs for more info
Use Bundler. Call
bundle exec guard
, notguard
.This worked for me:
then
to reinstall gems.