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

Fixes `$github-pages health-check` NoMethodError #878

Closed edward closed 8 months ago

edward commented 1 year ago

Running $github-pages health-check will cause a NoMethodError exception because File.exists? is not defined.

This patch updates it to use File.exist? which is what I think was intended.

edward commented 1 year ago

Ah neat! Thank you for the Reddit threadAlso hi Parker! Thanks for the merge. On Apr 2, 2023, at 11:47 AM, Parker Moore @.***> wrote: @parkr approved this pull request.

Removed in Ruby 3.2.0. https://www.reddit.com/r/ruby/comments/1196wti/psa_and_a_little_rant_fileexists_direxists/

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

edward commented 8 months ago

Thank you!