I thought I’d attempt to make a “planet” (compilation of my favorite RSS feeds) using plugin jekyll-planet
. I followed the instructions here and successfully completed steps 1 and 2. However when I run jekyll build
(or bundle exec jekyll build
), I see the following:
[...]
jekyll-planet/0.2.1 on Ruby 2.6.5 (2019-10-01) [x86_64-linux]
Configuration file: /home/kmf76/gits/planet/_config.yml
Dependency Error: Yikes! It looks like you don't have jekyll-planet 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-planet gem in your Gemfile as well. The full error message from Ruby is: 'cannot load such file -- jekyll-planet' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
------------------------------------------------
Jekyll 4.0.0 Please append `--trace` to the `build` command
for any additional information or backtrace.
------------------------------------------------
Repeating it with the --trace
flag:
Jekyll::Errors::MissingDependencyException: jekyll-planet
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/external.rb:73:in `rescue in block in require_with_graceful_fail'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/external.rb:58:in `block in require_with_graceful_fail'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/external.rb:57:in `each'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/external.rb:57:in `require_with_graceful_fail'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/plugin_manager.rb:30:in `require_gems'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/plugin_manager.rb:22:in `conscientious_require'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/site.rb:124:in `setup'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/site.rb:34:in `initialize'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/commands/build.rb:30:in `new'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/commands/build.rb:30:in `process'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/command.rb:89:in `block in process_with_graceful_fail'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/command.rb:89:in `each'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/command.rb:89:in `process_with_graceful_fail'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/commands/build.rb:18:in `block (2 levels) in init_with_program'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/gems/jekyll-4.0.0/exe/jekyll:15:in `<top (required)>'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/bin/jekyll:23:in `load'
/home/kmf76/gits/planet/vendor/bundle/ruby/2.6.0/bin/jekyll:23:in `<top (required)>'
Can anyone point me in the right direction? Thanks.
EDIT: While I was posting this I tried reinstalling Ruby and in the process I posted inconsistent outputs above. (Different Ruby versions were shown). I’ve since re-run and confirmed the same issue persists. But there is still an inconsistency in the output—Ruby 2.6.5 is shown first, then ruby 2.6.0. Not sure what that means or if it’s related to my problem.