From d6fe47a3492a299a88406ace3d74f183ae65a967 Mon Sep 17 00:00:00 2001 From: Andy Stewart Date: Mon, 25 Oct 2021 11:55:27 +0100 Subject: [PATCH] Add note re installing native gems with Bundler v2.2 --- docs/tutorials/installing_nokogiri.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/tutorials/installing_nokogiri.md b/docs/tutorials/installing_nokogiri.md index 8d0fe0cd..676ab666 100644 --- a/docs/tutorials/installing_nokogiri.md +++ b/docs/tutorials/installing_nokogiri.md @@ -39,6 +39,9 @@ Successfully installed nokogiri-1.11.0-x86_64-linux 1 gem installed ``` +If you're using Bundler v2.2+, check your lockfile knows about your platform(s): see `man bundle-lock` for details. + + ### Why would I not want to use a native gem? I can imagine some folks might have trust issues; if this is you, please let us know in a comment at [RFC: Increase the level of trust in released gem files · Issue #2013 · sparklemotion/nokogiri](https://github.com/sparklemotion/nokogiri/issues/2013). What can we do to increase that trust? (I can imagine providing a chain of custody including public build logs with cryptographic hashes of artifacts, but I'd like to hear from real users.)