Emit warning when 'RubyGems' were not properly loaded.
This commit is contained in:
parent
fbe37ff37a
commit
4bbb610011
Notes:
git
2020-12-02 12:46:45 +09:00
@ -1,6 +1,7 @@
|
||||
begin
|
||||
require 'rubygems.rb'
|
||||
rescue LoadError
|
||||
warn "`RubyGems' were not loaded."
|
||||
end if defined?(Gem)
|
||||
|
||||
begin
|
||||
|
Loading…
x
Reference in New Issue
Block a user