Suppress Warnings: instance variable @installed_by_version not initialized
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
da10c47e49
commit
8e2a2a8a8d
@ -2293,7 +2293,7 @@ class Gem::Specification < Gem::BasicSpecification
|
||||
end
|
||||
end
|
||||
|
||||
if @installed_by_version then
|
||||
if defined?(@installed_by_version) && @installed_by_version then
|
||||
result << nil
|
||||
result << " s.installed_by_version = \"#{Gem::VERSION}\""
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user