github / pages-gem

A simple Ruby Gem to bootstrap dependencies for setting up and maintaining a local Jekyll environment in sync with GitHub Pages
http://pages.github.com
MIT License
1.82k stars 349 forks source link

Add webrick as Ruby 3 doesn’t include it #914

Closed mrmanc closed 1 month ago

mrmanc commented 5 months ago

Fixes #752. webrick wasn’t available it’s not bundled as of Ruby v3.0.0. I’ve resolved this by adding it to the dependencies class.

kwin commented 4 months ago

I would rather expect that the docker image uses the same ruby version by default as GitHub Pages publishing (still 2.x)

mrmanc commented 4 months ago

Yep, me too (GHP is using Ruby 2.7.4), but it was upgraded to use 3.x in a1e407c1f7d6466cdf4d1191e992377be2d2fefa in January. There’s a conversation in #898 where this was discussed it seems.