-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Expected Behavior
Jekyll can load the plugin
Actual Behavior
I have installed this plugin as described in the readme and via gem install and/or via bundle install. Every time I want to use the plugin by starting jekyll, I receive an error message, that it can not be loaded due to dependency error.
Steps to Reproduce the Problem
Install this plugin as decribed in readme, use gem install jekyll-xml-source or write it in your Gemfile.
Version
Debian 12
Using jekyll 4.3.2
Using net-http 0.3.2
Using jekyll-xml-source 0.1.1
Using json 2.6.3
Using bundler 2.4.9
Using activesupport 7.0.4.3
Additional Information
Gemfile
group :jekyll_plugins do
gem "jekyll-feed", "~> 0"
gem 'jekyll-sitemap'
gem 'jekyll-seo-tag'
gem 'jekyll-xml-source'
end
_config.yaml
plugins:
- jekyll-sitemap
- jekyll-seo-tag
- jekyll-xml-source
#currently commented out because of testing and troubleshooting; Tryed the way from readme also
# plugins_dir: ./_plugins
error message:
bundle exec jekyll serve
Configuration file: /****/_config.yml
Dependency Error: Yikes! It looks like you don't have jekyll-xml-source or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. If you've run Jekyll with `bundle exec`, ensure that you have included the jekyll-xml-source gem in your Gemfile as well. The full error message from Ruby is: 'cannot load such file -- jekyll-xml-source' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
------------------------------------------------
Jekyll 4.3.2 Please append `--trace` to the `serve` command
for any additional information or backtrace.
------------------------------------------------
/home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/external.rb:70:in `rescue in block in require_with_graceful_fail': jekyll-xml-source (Jekyll::Errors::MissingDependencyException)
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/external.rb:56:in `block in require_with_graceful_fail'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/external.rb:55:in `each'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/external.rb:55:in `require_with_graceful_fail'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/plugin_manager.rb:30:in `require_gems'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/plugin_manager.rb:22:in `conscientious_require'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/site.rb:131:in `setup'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/site.rb:36:in `initialize'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/commands/build.rb:30:in `new'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/commands/build.rb:30:in `process'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/command.rb:91:in `each'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
from /home/joerg/gems/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
from /home/joerg/gems/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
from /home/joerg/gems/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
from /home/joerg/gems/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
from /home/joerg/gems/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
from /home/joerg/gems/gems/jekyll-4.3.2/exe/jekyll:15:in `<top (required)>'
from /home/joerg/gems/bin/jekyll:25:in `load'
from /home/joerg/gems/bin/jekyll:25:in `<top (required)>'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/cli/exec.rb:58:in `load'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/cli/exec.rb:58:in `kernel_load'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/cli/exec.rb:23:in `run'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/cli.rb:492:in `exec'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/cli.rb:34:in `dispatch'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/cli.rb:28:in `start'
from /home/joerg/gems/gems/bundler-2.4.9/exe/bundle:45:in `block in <top (required)>'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
from /home/joerg/gems/gems/bundler-2.4.9/exe/bundle:33:in `<top (required)>'
from /home/joerg/gems/bin/bundle:25:in `load'
from /home/joerg/gems/bin/bundle:25:in `<main>'
/home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/external.rb:57:in `require': cannot load such file -- jekyll-xml-source (LoadError)
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/external.rb:57:in `block in require_with_graceful_fail'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/external.rb:55:in `each'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/external.rb:55:in `require_with_graceful_fail'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/plugin_manager.rb:30:in `require_gems'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/plugin_manager.rb:22:in `conscientious_require'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/site.rb:131:in `setup'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/site.rb:36:in `initialize'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/commands/build.rb:30:in `new'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/commands/build.rb:30:in `process'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/command.rb:91:in `each'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
from /home/joerg/gems/gems/jekyll-4.3.2/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
from /home/joerg/gems/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
from /home/joerg/gems/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
from /home/joerg/gems/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
from /home/joerg/gems/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
from /home/joerg/gems/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
from /home/joerg/gems/gems/jekyll-4.3.2/exe/jekyll:15:in `<top (required)>'
from /home/joerg/gems/bin/jekyll:25:in `load'
from /home/joerg/gems/bin/jekyll:25:in `<top (required)>'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/cli/exec.rb:58:in `load'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/cli/exec.rb:58:in `kernel_load'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/cli/exec.rb:23:in `run'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/cli.rb:492:in `exec'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/cli.rb:34:in `dispatch'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/cli.rb:28:in `start'
from /home/joerg/gems/gems/bundler-2.4.9/exe/bundle:45:in `block in <top (required)>'
from /home/joerg/gems/gems/bundler-2.4.9/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
from /home/joerg/gems/gems/bundler-2.4.9/exe/bundle:33:in `<top (required)>'
from /home/joerg/gems/bin/bundle:25:in `load'
from /home/joerg/gems/bin/bundle:25:in `<main>'
Metadata
Metadata
Assignees
Labels
No labels