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