зеркало из https://github.com/github/ruby.git
Emit warning when 'RubyGems' were not properly loaded.
This commit is contained in:
Родитель
fbe37ff37a
Коммит
4bbb610011
|
@ -1,6 +1,7 @@
|
|||
begin
|
||||
require 'rubygems.rb'
|
||||
rescue LoadError
|
||||
warn "`RubyGems' were not loaded."
|
||||
end if defined?(Gem)
|
||||
|
||||
begin
|
||||
|
|
Загрузка…
Ссылка в новой задаче