Commit e6e4b6ab authored by Fabio Pelosin's avatar Fabio Pelosin

Remove the Rubygems version check as now it is handled by cocoapods-core.

parent 85ee1f16
require 'rubygems' require 'rubygems'
# Better to fail early and clear then during installation of pods.
#
# RubyGems 1.3.6 (which ships with OS X >= 10.7) up to 1.4.0 have a couple of
# bugs related to comparing prerelease versions.
#
# E.g. https://github.com/CocoaPods/CocoaPods/issues/398
unless Gem::Version::Requirement.new('>= 1.4.0').satisfied_by?(Gem::Version.new(Gem::VERSION))
STDERR.puts "\e[1;31m" + "Your RubyGems version (#{Gem::VERSION}) is too old, please update with: `gem update --system`" + "\e[0m"
exit 1
end
module Pod module Pod
class PlainInformative < StandardError require 'cocoapods-core'
end require 'cocoapods/downloader'
require 'cocoapods/file_list'
require 'cocoapods/config'
class PlainInformative < StandardError; end
class Informative < PlainInformative class Informative < PlainInformative
def message def message
...@@ -49,11 +42,6 @@ module Pod ...@@ -49,11 +42,6 @@ module Pod
autoload :XCConfig, 'cocoapods/generator/xcconfig' autoload :XCConfig, 'cocoapods/generator/xcconfig'
end end
require 'cocoapods-core'
require 'cocoapods/downloader'
require 'cocoapods/file_list'
require 'cocoapods/config'
end end
if ENV['COCOA_PODS_ENV'] == 'development' if ENV['COCOA_PODS_ENV'] == 'development'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment