Skip to content

Commit

Permalink
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tool/jt.rb
Original file line number Diff line number Diff line change
@@ -227,6 +227,8 @@ def help
puts
puts 'recognised environment variables:'
puts
puts ' RUBY_BIN The JRuby+Truffle executable to use (normally just bin/jruby)'
puts
puts ' GRAAL_BIN GraalVM executable (java command) to use'
puts ' GRAAL_BIN_...git_branch_name... GraalVM executable to use for a given branch'
puts ' branch names are mangled - eg truffle-head becomes GRAAL_BIN_TRUFFLE_HEAD'
@@ -304,6 +306,8 @@ def run(*args)

if USE_JRUBY_ECLIPSE
jruby_bin = "#{JRUBY_DIR}/tool/jruby_eclipse"
if ENV['RUBY_BIN']
jruby_bin = ENV['RUBY_BIN']
else
jruby_bin = "#{JRUBY_DIR}/bin/jruby"
end

0 comments on commit 30742d9

Please sign in to comment.