初始化guard-livereload时出错

时间:2013-11-19 10:16:20

标签: windows guard livereload

我正在尝试在Windows上安装后卫重新加载。到目前为止,我已经安装了防护装置并通过捆绑机工作。但在安装livereload gem并尝试guard init livereloadbundler exec guard init livereload后,我得到以下内容:

10:12:46 - ERROR - Could not load 'guard/livereload' or '~/.guard/templates/live reload' or find class Guard::Livereload

2 个答案:

答案 0 :(得分:1)

当我尝试运行guard init livereload时遇到了类似的问题,但是当您单独运行bundle exec guard init且末尾没有livereload字词时,它的工作效果很好。您还可以阅读有关Guard Gem的更多信息。也许这也对您有用。干杯:)

答案 1 :(得分:0)

编辑Gemfile

source 'https://rubygems.org'
group :development do
  gem 'guard-livereload'
  gem 'guard-bundler'
end

然后再次运行bundle install

相关问题