Skip to content

Commit

Permalink
spec assumes UTF-8 so change file.encoding to make those specs run as…
Browse files Browse the repository at this point in the history
… expected
enebo committed Mar 29, 2016
1 parent 3211091 commit 528f28d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rakelib/commands.rake
Original file line number Diff line number Diff line change
@@ -100,6 +100,7 @@ def mspec(mspec_options = {}, java_options = {}, &code)

arg :line => "#{MSPEC_BIN} ci"
arg :line => "-T -J-ea"
arg :line => "-T -J-Dfile.encoding=UTF-8" if RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
arg :line => "-T -J-Djruby.launch.inproc=false"
arg :line => "-T -J-Djruby.compile.mode=#{ms[:compile_mode]}"
arg :line => "-T -J-Djruby.jit.threshold=#{ms[:jit_threshold]}"

0 comments on commit 528f28d

Please sign in to comment.