ruby-changes:63837
From: V=C3=ADt <ko1@a...>
Date: Wed, 2 Dec 2020 12:46:43 +0900 (JST)
Subject: [ruby-changes:63837] 4bbb610011 (master): Emit warning when 'RubyGems' were not properly loaded.
https://git.ruby-lang.org/ruby.git/commit/?id=4bbb610011 From 4bbb61001187a285ba8e504ef2fdce9a4835966f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@r...> Date: Wed, 18 Dec 2019 15:03:38 +0100 Subject: Emit warning when 'RubyGems' were not properly loaded. diff --git a/gem_prelude.rb b/gem_prelude.rb index 87f59fd..7a56d81 100644 --- a/gem_prelude.rb +++ b/gem_prelude.rb @@ -1,6 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/gem_prelude.rb#L1 begin require 'rubygems.rb' rescue LoadError + warn "`RubyGems' were not loaded." end if defined?(Gem) begin -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/