Release plugin as a Gem
Closed this issue · 2 comments
paulrobertlloyd commented
Releasing this plugin as a Gem would mean users could receive updates as and when they are made (i.e. if they are using bundler, you can run bundle update
. You can find out more about creating Gems here: http://guides.rubygems.org/make-your-own-gem/
For users who wish to install locally, this is still possible (and you can provide instructions on how to do so), but basically it would mean copying the file from {repo}/lib/
to {your install}/_plugins/
.
The Jekyll organisation on GitHub has a number of it’s own plugins released this way, and is a good place to see what’s considered best practice.
aarongustafson commented
Give it a go: gem install jekyll-crosspost-to-medium
paulrobertlloyd commented
Nice! Works like a charm gem 👍