Skip to content

Commit 9b08889

Browse files
committed
Fix the problem with specs not being able to start on Windows.
1 parent 0918010 commit 9b08889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def self.check_executable_built
2222
FileUtils.mkdir_p(File.join(home, "bin"))
2323
FileUtils.cp(exe, File.join(home, "bin"))
2424
if JRubyLauncherHelper::WINDOWS
25-
FileUtils.cp(JRubyLauncherHelper::JRUBY_EXE.sub(/exe/,'dll'), File.join(home, "bin"))
25+
FileUtils.cp(exe.sub(/exe/, 'dll'), File.join(home, "bin"))
2626
end
2727
FileUtils.mkdir_p(File.join(home, "lib"))
2828
FileUtils.touch(File.join(home, "lib/jruby.jar"))

0 commit comments

Comments
 (0)