diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rubygems/specification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb index 1aed2cebed..0da3584aae 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -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 |