diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-06 06:23:29 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-06 06:23:29 +0000 |
commit | e3d72485cae0fce61b415b5365c2a2cf99d63f48 (patch) | |
tree | 07b78baade57d26548bcf7390110785c31652d4c /lib/rubygems/specification.rb | |
parent | 8e2a2a8a8dae5b872f2cdaba0d52d19d25ebf9d3 (diff) | |
download | ruby-e3d72485cae0fce61b415b5365c2a2cf99d63f48.tar.gz |
Suppress warnings: File.exists? is a deprecated name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/specification.rb')
-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 0da3584aae..6b8528f238 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -1400,7 +1400,7 @@ class Gem::Specification < Gem::BasicSpecification # Returns the build_args used to install the gem def build_args - if File.exists? build_info_file + if File.exist? build_info_file File.readlines(build_info_file).map { |x| x.strip } else [] |