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
7849b3ce
Commit
7849b3ce
authored
Mar 29, 2014
by
Richard Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add advice for UTF-8 issue on Travis CI
parent
18d66116
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
pod
bin/pod
+10
-1
No files found.
bin/pod
View file @
7849b3ce
#!/usr/bin/env ruby
#!/usr/bin/env ruby
if
RUBY_VERSION
>
'1.8.7'
&&
Encoding
.
default_external
!=
Encoding
::
UTF_8
if
RUBY_VERSION
>
'1.8.7'
&&
Encoding
.
default_external
!=
Encoding
::
UTF_8
puts
"
\e
[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding."
if
ENV
[
"TRAVIS"
]
puts
<<-
DOC
Consider adding the following settings to .travis.yml
before_script:
- export LANG=en_US.UTF-8
\e
[0m
\n
DOC
else
puts
<<-
DOC
puts
<<-
DOC
\e
[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
See https://github.com/CocoaPods/guides.cocoapods.org/issues/26 for
See https://github.com/CocoaPods/guides.cocoapods.org/issues/26 for
possible solutions.
\e
[0m
\n
possible solutions.
\e
[0m
\n
DOC
DOC
end
end
end
if
$PROGRAM_NAME
==
__FILE__
&&
!
ENV
[
'COCOAPODS_NO_BUNDLER'
]
if
$PROGRAM_NAME
==
__FILE__
&&
!
ENV
[
'COCOAPODS_NO_BUNDLER'
]
...
...
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