File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 156
156
end
157
157
158
158
# JRUBY-4608
159
- if Config ::CONFIG [ 'target_os' ] =~ /darwin/i
159
+ if RbConfig ::CONFIG [ 'target_os' ] =~ /darwin/i
160
160
it "includes file.encoding=UTF-8 on Mac if JAVA_ENCODING is not set" do
161
161
jruby_launcher_args ( "-e true" ) . should include ( "-Dfile.encoding=UTF-8" )
162
162
with_environment "JAVA_ENCODING" => "MacRoman" do
Original file line number Diff line number Diff line change 9
9
10
10
module JRubyLauncherHelper
11
11
JRUBY_EXE = ''
12
- WINDOWS = Config ::CONFIG [ 'target_os' ] =~ /mswin/
12
+ WINDOWS = RbConfig ::CONFIG [ 'target_os' ] =~ /mswin/
13
13
14
14
def self . check_executable_built
15
- exe = File . expand_path ( "../../jruby" , __FILE__ ) + Config ::CONFIG [ 'EXEEXT' ]
15
+ exe = File . expand_path ( "../../jruby" , __FILE__ ) + RbConfig ::CONFIG [ 'EXEEXT' ]
16
16
unless File . executable? ( exe )
17
17
raise "Error: launcher executable not built; type `make' before continuing."
18
18
end
You can’t perform that action at this time.
0 commit comments