Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Reset LANG and LC_CTYPE before running tests (thus avoiding that ever…

…ything defaults to UTF-8 on OSX).
  • Loading branch information...
commit f29054a3771d2ad4e7e09649abf4ae17ea820945 1 parent ce2e61c
@rkh rkh authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 Rakefile
View
4 Rakefile
@@ -12,6 +12,10 @@ def source_version
end
# SPECS ===============================================================
+task :test do
+ ENV['LANG'] = 'C'
+ ENV.delete 'LC_CTYPE'
+end
if !ENV['NO_TEST_FIX'] and RUBY_VERSION == '1.9.2' and RUBY_PATCHLEVEL == 0
# Avoids seg fault
Please sign in to comment.
Something went wrong with that request. Please try again.