mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
parent
eb0b218c8c
commit
0bb8f06f42
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
if ENV['USE_RUBY'] != '1'
|
||||
if RUBY_ENGINE != "jruby" or Gem.ruby !~ /vendor\/jruby\/bin\/jruby/
|
||||
puts "Restarting myself under Vendored JRuby (currently #{RUBY_ENGINE} #{RUBY_VERSION})"
|
||||
puts "Restarting myself under Vendored JRuby (currently #{RUBY_ENGINE} #{RUBY_VERSION})" if $DEBUG
|
||||
|
||||
# Make sure we have JRuby, then rerun ourselves under jruby.
|
||||
Rake::Task["vendor:jruby"].invoke
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue