Hello,
In order to test a private plugin, I created a _plugins folder in the root of my project.
I copied an existing plugin (jekyll-leaflet) in this folder, that will be my future private plugin;
I removed jekyll-leaflet from the Gemfile file;
I didn’t change the _config.yml file.
Now I have plugins defined in gemfile file and in _plugins folder.
Is it correct ? because I have a dependency error !
jekyll build JEKYLL_ENV=production
Dependency Error: Yikes! It looks like you don’t have /home/jpc/faune_flore_meyrin/_plugins/lib/jekyll-leaflet.rb 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 /home/jpc/faune_flore_meyrin/_plugins/lib/jekyll-leaflet.rb gem in your Gemfile as well. The full error message from Ruby is: ‘cannot load such file – jekyll-leaflet/leaflet-map’ If you run into trouble, you can find helpful resources at Redirecting…!