BryanSchuetz / jekyll-deploy-gh-pages

A GitHub Action for building a Jekyll site (with custom plugins) and deploying it back to your gh-pages branch.
118 stars 60 forks source link

Bundler 2 required? #28

Open chadfrost opened 4 years ago

chadfrost commented 4 years ago

I'm using bundler = 2.1.4, and when the action runs I get "You must use Bundler 2 or greater with this lockfile." If I remove Gemfile.lock from my repo, it works fine. I'm not savvy enough to know where the bundle version used in the GitHib Actions comes from -- is there any way to control which version is being picked up?

Li357 commented 3 years ago

Did some digging, looks like the ruby version (and in particular the rubygems version) of the action's Docker container is old. So the preinstalled bundler version is below 2.

I've created a fork that runs on ruby 2.7 and comes preinstalled with rubygems and bundler@2.1.4: https://github.com/Li357/jekyll-deploy-gh-pages

It also includes nodejs since I'm doing some server-side math typesetting.