From 40486d82075c701b277811b4e561f12e84c9bb82 Mon Sep 17 00:00:00 2001 From: Joni Lahtinen Date: Thu, 10 Aug 2023 19:09:33 +0300 Subject: [PATCH] GPG key install when using proxy --- content/index.haml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/index.haml b/content/index.haml index f84eb57a..2d1faa91 100644 --- a/content/index.haml +++ b/content/index.haml @@ -19,6 +19,8 @@ title: RVM Ruby Version Manager - Documentation %li Install GPG keys: = sh_cmd "gpg2 --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB" + When using proxy: + = sh_cmd "gpg2 --keyserver-options "timeout=40 http-proxy=$http_proxy" --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB" In case you encounter an issues or want to know more, check %a{:href => "/rvm/security"} security