From ebc7c34f70f6f017d020bcc7011fd070849b35ac Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Sun, 5 Jul 2015 17:16:57 +0300 Subject: [PATCH] Make sure the C locale is set when calling the compiler --- ext/libv8/compiler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/libv8/compiler.rb b/ext/libv8/compiler.rb index 0b2dd09..c9afb3d 100644 --- a/ext/libv8/compiler.rb +++ b/ext/libv8/compiler.rb @@ -55,7 +55,7 @@ module Libv8 end def execute_command(command) - output = `#{command}` + output = `env LC_ALL=C LANG=C #{command}` status = $? ExecutionResult.new output, status end