Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
e6e4b6ab
Commit
e6e4b6ab
authored
Dec 12, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the Rubygems version check as now it is handled by cocoapods-core.
parent
85ee1f16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
18 deletions
+6
-18
cocoapods.rb
lib/cocoapods.rb
+6
-18
No files found.
lib/cocoapods.rb
View file @
e6e4b6ab
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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment