Skip to content

Commit 15c299a

Browse files
committed
[GR-18163] Fix jt ruby-home
PullRequest: truffleruby/4198
2 parents cb9aea0 + 754b462 commit 15c299a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tool/jt.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,6 @@ def ruby_home
286286
require_ruby_launcher!
287287
File.expand_path('../..', @ruby_launcher_realpath)
288288
end
289-
alias_method :'ruby-home', :ruby_home
290289

291290
def truffleruby!
292291
raise 'This command requires TruffleRuby.' unless truffleruby?
@@ -917,6 +916,10 @@ def launcher
917916
puts ruby_launcher
918917
end
919918

919+
define_method(:'ruby-home') do
920+
puts ruby_home
921+
end
922+
920923
def build(*options)
921924
in_truffleruby_repo_root!
922925
project = options.shift

0 commit comments

Comments
 (0)