Skip to content

Commit 37e6890

Browse files
committed
Fix mistake in jruby Rakefile
1 parent 9b6ac43 commit 37e6890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if defined?(RUBY_ENGINE) and RUBY_ENGINE == 'jruby'
5656
].find { |c| File.directory?(c) }
5757
if ENV['JAVA_HOME']
5858
warn " *** JAVA_HOME is set to #{ENV['JAVA_HOME'].inspect}"
59-
ENV['PATH'] = ENV['PATH'].split(/path_separator/).unshift(java_path = "#{ENV['JAVA_HOME']}/bin") * path_separator
59+
ENV['PATH'] = ENV['PATH'].split(path_separator).unshift(java_path = "#{ENV['JAVA_HOME']}/bin") * path_separator
6060
warn " *** java binaries are assumed to be in #{java_path.inspect}"
6161
else
6262
warn " *** JAVA_HOME was not set or could not be guessed!"

0 commit comments

Comments
 (0)