Commit 60fba75b authored by Klaas Pieter Annema's avatar Klaas Pieter Annema

Explain how to fix the UTF-8 warning

parent 9b3f25c0
#!/usr/bin/env ruby
if 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
\e[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.profile:
before_script:
- export LANG=en_US.UTF-8\e[0m\n
DOC
else
puts <<-DOC
export LANG=en_US.UTF-8
\e[0m
DOC
end
DOC
end
if $PROGRAM_NAME == __FILE__ && !ENV['COCOAPODS_NO_BUNDLER']
......
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