diff options
author | Andre Arko <andre@arko.net> | 2012-03-10 20:58:24 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2012-03-10 20:58:24 -0800 |
commit | 66f42495854446316e5d23168905e8e9bf87e74b (patch) | |
tree | f12bccf2841e5a2030b25e3f5bce65cfaf7920a2 | |
parent | 9811a3db0ab2cb6d213c2f50492e74a61911c572 (diff) | |
download | bundler-66f42495854446316e5d23168905e8e9bf87e74b.tar.gz |
avoid warning from setting encoding if possible
-rw-r--r-- | spec/quality_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/quality_spec.rb b/spec/quality_spec.rb index 1cc8b2cd65..f7b5984233 100644 --- a/spec/quality_spec.rb +++ b/spec/quality_spec.rb @@ -1,6 +1,6 @@ require "spec_helper" -if defined?(Encoding) +if defined?(Encoding) && Encoding.default_external != "UTF-8" Encoding.default_external = "UTF-8" end |