A plugin I’m using is called planet.rb. I discovered it on this forum last year.
I need to begin modifying it for a Jekyll project I’m working on. I do not want to fork it’s Gem unless that’s the only way. If my modifications turn out to be potentially useful to others I’ll package it up. Meanwhile trying to avoid these steps. If possible.
From the three methods listed at Jekyll I want to use the first method for this plugin (trapped in the body of a Gem).
I’ve assumed I can edit these Gem files then ‘build jekyll’ to see changes.
I’ve attempted to:
- put the contents of the Gem’s /lib folder into my _plugins folder
- then run ‘jekyll build’
As you experts might expect.
Dependency Error: Yikes! It looks like you don’t have /Users/…/_plugins/planet/blog.rb or one of its dependencies installed. In order to use Jekyll as currently configured, you’ll need to install this gem. The full error message from Ruby is: ‘cannot load such file – sanitize’ If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
Clearly I don’t know what I’m doing. I’m unsure how whether planet.rb is in any form to be run directly from the _plugins folder or how I might make that happen.
Thanks for your time. Glad this forum is coming back to life after the wipe.