mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Reset LANG and LC_CTYPE before running tests (thus avoiding that everything defaults to UTF-8 on OSX).
This commit is contained in:
parent
88d378ab94
commit
30de33861a
1 changed files with 4 additions and 0 deletions
4
Rakefile
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
|
||||
|
|
Loading…
Reference in a new issue