Commit 88cfd7fd authored by Matthew Holgate's avatar Matthew Holgate

[pod] Write the UTF-8 warning to stderr, rather than stdout.

This means operations like:

   POD_VERSION="`pod --version`"

Work correctly even if LANG isn't set (e.g. within Jenkins).
parent fec995a6
#!/usr/bin/env ruby
if Encoding.default_external != Encoding::UTF_8
puts <<-DOC
STDERR.puts <<-DOC
\e[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.profile:
......
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