Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -294,8 +294,13 @@ def subcommand_setup(vm_options, rest) | |
end | ||
|
||
def subcommand_run(vm_options, rest) | ||
jruby_path = Pathname("#{@options[:global][:jruby_truffle_path]}/../.."). | ||
relative_path_from(Pathname('.')).to_s | ||
jruby_path = Pathname("#{@options[:global][:jruby_truffle_path]}/../..") | ||
|
||
unless jruby_path.absolute? | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
nirvdrum
Author
Contributor
|
||
jruby_path = jruby_path.relative_path_from(Pathname('.')) | ||
end | ||
|
||
jruby_path = jruby_path.to_s | ||
|
||
if @options[:run][:build] || @options[:run][:rebuild] | ||
Dir.chdir jruby_path do | ||
|
Should this be a
if
?