A Ruby n00b moment: it turns out that gems can pulled from any git repository and branch! This means I don’t have to wait for my Pull Requests to be approved to use all the changes I’ve made to the jekyll-paginate-v2 Jekyll plugin. I just have to edit my Gemfile
like so:
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.6"
#gem "jekyll-paginate-v2"
gem "jekyll-paginate-v2", :git => "https://github.com/ibrado/jekyll-paginate-v2.git", :branch => "everything"
end
Here are some relevant messages from the deployment on netlify:
8:45:05 PM: Installing gem bundle
...
8:45:10 PM: Fetching https://github.com/ibrado/jekyll-paginate-v2.git
...
8:45:11 PM: Using jekyll-paginate-v2 1.9.0 from https://github.com/ibrado/jekyll-paginate-v2.git (at everything@1245191)
...
8:45:16 PM: Site is live
Neat!