imathis / guard-jekyll-plus

A Guard plugin for smarter Jekyll builds
MIT License
63 stars 16 forks source link

Guard Fails To Start with Jekyll Plus #30

Closed jalcine closed 9 years ago

jalcine commented 9 years ago

Whenever I attempt to start Guard with the following configuration:

guard 'jekyll-plus', serve: false, future: true, drafts: true, silent: true do
  watch(/^src/)
  watch('_config.yml')
end

I get the following error:

18:47:07 - ERROR - mCould not load 'guard/jekyll-plus' or'    ' find class Guard::JekyllPlus
18:47:07 - ERROR - Error is: cannot load such file -- guard/guard
18:47:07 - ERROR - m/home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-jekyll-plus-1.4.9/lib/guard/jekyll-plus.rb:4:in `require'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-jekyll-plus-1.4.9/lib/guard/jekyll-plus.rb:4:in `<top (required)>'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-2.10.2/lib/guard/plugin_util.rb:105:in `require'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-2.10.2/lib/guard/plugin_util.rb:105:in `rescue in plugin_class'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-2.10.2/lib/guard/plugin_util.rb:97:in `plugin_class'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-2.10.2/lib/guard/plugin_util.rb:56:in `initialize_plugin'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-2.10.2/lib/guard/internals/plugins.rb:24:in `add'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-2.10.2/lib/guard/dsl.rb:186:in `block in guard'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-2.10.2/lib/guard/dsl.rb:183:in `each'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-2.10.2/lib/guard/dsl.rb:183:in `guard'
> [#] /home/jalcine/Development/Projects/jalcine.me/Guardfile:15:in `evaluate'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-2.10.2/lib/guard/dsl.rb:378:in `instance_eval'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-2.10.2/lib/guard/dsl.rb:378:in `evaluate'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-2.10.2/lib/guard/guardfile/evaluator.rb:91:in `evaluate'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-2.10.2/lib/guard.rb:155:in `_evaluate'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-2.10.2/lib/guard.rb:60:in `setup'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-2.10.2/lib/guard/commander.rb:32:in `start'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-2.10.2/lib/guard/cli.rb:243:in `_start'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-2.10.2/lib/guard/cli.rb:108:in `start'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-2.10.2/lib/guard/aruba_adapter.rb:32:in `execute'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-2.10.2/lib/guard/aruba_adapter.rb:19:in `execute!'
> [#] /home/jalcine/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/guard-2.10.2/bin/guard:11:in `<top (required)>'
> [#] bin/guard:16:in `load'
> [#] bin/guard:16:in `<main>'

Looks like this gem isn't compatible with Guard 2.10.2; might be a duplicate of #29.

jalcine commented 9 years ago

Yup, I'm using version 1.4.9 of guard-jekyll-plus.

imathis commented 9 years ago

I've just released v2.0.0 of this Guard Jekyll Plus. Thanks for your help prodding me to get it updated! :beers: