From 4bbb61001187a285ba8e504ef2fdce9a4835966f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Wed, 18 Dec 2019 15:03:38 +0100 Subject: [PATCH] Emit warning when 'RubyGems' were not properly loaded. --- gem_prelude.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/gem_prelude.rb b/gem_prelude.rb index 87f59fd381..7a56d814e2 100644 --- a/gem_prelude.rb +++ b/gem_prelude.rb @@ -1,6 +1,7 @@ begin require 'rubygems.rb' rescue LoadError + warn "`RubyGems' were not loaded." end if defined?(Gem) begin