Commit 6ceb4f1d authored by Samuel E. Giddins's avatar Samuel E. Giddins

Merge pull request #2825 from klaaspieter/utf-8-warning

Remove link from UTF-8 warning
parents 9c049430 60fba75b
#!/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 \e[0m
DOC DOC
else
puts <<-DOC
See https://github.com/CocoaPods/guides.cocoapods.org/issues/26 for
possible solutions.\e[0m\n
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