maximevaillancourt / digital-garden-jekyll-template

Start your own digital garden using this Jekyll template 🌱
https://digital-garden-jekyll-template.netlify.app/
Other
989 stars 760 forks source link

Update ruby version in jekyll.yml #216

Closed candideu closed 1 month ago

candideu commented 1 month ago

I used the template, and ran into this error while deploying the GitHub Pages Jekyll action:

Error: The process '/opt/hostedtoolcache/Ruby/3.1.4/x64/bin/bundle' failed with exit code 5

I searched online, and changing the Ruby version to 3.2 seemed to solve things: https://talk.jekyllrb.com/t/build-error-at-setup-ruby-stage-of-build-and-deploy-on-actions/8782/3

I'm by no means a Ruby expert, so please let me know if there's a better way to solve this error.

candideu commented 1 month ago

Just saw https://github.com/maximevaillancourt/digital-garden-jekyll-template/pull/211

If that one makes more sense, I can close this one

maximevaillancourt commented 1 month ago

Thanks for the PR! I merged #211 as it comments out the hard-coded Ruby version, which means that .ruby-version will be used.