启动 Guard 时,我得到了以下输出:
$ 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.
这是什么意思,我该怎么修复它?
Guardfile的内容:
guard 'livereload' do
watch(%r{.+\.(css|js|html)$})
end
guard 'sass', :input => 'css', :style => :compressed, :extension => '.min.css'
gem cleanup< gem >
;相反,我运行了bundle exec rspec< file >
,结果它成功了。 - J.R. Bob Dobbs