reneruiz reneruiz - 5 months ago 85
Ruby Question

Unresolved specs during Gem::Specification.reset:

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's this mean, and how do I fix this?

Contents of Guardfile:

guard 'livereload' do
guard 'sass', :input => 'css', :style => :compressed, :extension => '.min.css'


I was seeing this issue by just running RSpec on its own. From what I understand, this means that you have more than one version of the listed gems installed on your system, and RSpec is unsure which to use. After uninstalling older version of the gems, the warnings went away.

You can try...

gem cleanup lumberjack


gem list lumberjack

gem uninstall

If you're using Bundler, you can try bundle exec guard (or in my case bundle exec rspec).