pages-gem icon indicating copy to clipboard operation
pages-gem copied to clipboard

Document about Gemfile.lock

Open fulldecent opened this issue 4 years ago • 2 comments

Before submitting an issue, please be sure to

This issue affects

  • [x] The site generated by GitHub Pages
  • [x] Building sites locally

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

fulldecent avatar Mar 30 '21 22:03 fulldecent

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

dijonkitchen avatar Apr 08 '22 03:04 dijonkitchen

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

dijonkitchen avatar Apr 08 '22 04:04 dijonkitchen