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

Document about Gemfile.lock #768

Open fulldecent opened 3 years ago

fulldecent commented 3 years ago

Before submitting an issue, please be sure to

This issue affects

Issue

When you install locally, using bundle install you get one version. And GitHub Pages will always use its own version.

GitHub Pages will never use your Gemfile.lock to resolve dependencies when building your GitHub Pages website.

This fact is important for developers using the pages-gem gem as well as users of GitHub Pages in general.

RELATED: https://github.com/github/gitignore/pull/3690

Follow on work

Add this documentation as justification at: https://github.com/github/gitignore/pull/3690

dijonkitchen commented 2 years ago

I think the pages-gem should actually have it's Gemfile.lock published to deterministically install.

dijonkitchen commented 2 years ago

Made a PR here: https://github.com/github/pages-gem/pull/829 to be explicit about the pages-gem dependencies.