diff --git a/Gemfile b/Gemfile
index 9e812aa649a443006da8d127c999168f2f16e88c..7ccf824fa1f7726b97761de9af57188e963a438e 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,6 +1,6 @@
 # frozen_string_literal: true
 
-source 'https://rubygems.org'
+source ENV['PROXY_RUBYGEMSORG'] || 'https://rubygems.org'
 
 # Install the `inspec` gem using `git` because versions after `4.22.22`
 # suppress diff output; this version fixes this for our uses.