GraalVM running ruby-tool error
Rahman USTA
rahman.usta.88 at gmail.com
Sat Dec 3 13:30:35 UTC 2016
Hello,
When I try to run https://github.com/lucasocon/openweather.git on GraalVM,
ruby-tool gives me the following errors;
$ ruby-tool setup
Error opening script file:
/opt/graalvm-0.18-dk/jre/language/ruby/lib/ruby/truffle/jruby+truffle/bin/jruby+truffle
(No such file or directory)
First, name of script file is not jruby+truffle it is jruby-truffle-tool,
after fixing it, I get the following error;
OptionParser::InvalidOption: invalid option: --interpreter-path
block in complete at
/opt/graalvm-0.18-dk/jre/language/ruby/lib/ruby/stdlib/optparse.rb:1726
catch at org/jruby/RubyKernel.java:1118
complete at
/opt/graalvm-0.18-dk/jre/language/ruby/lib/ruby/stdlib/optparse.rb:1724
block in parse_in_order at
/opt/graalvm-0.18-dk/jre/language/ruby/lib/ruby/stdlib/optparse.rb:1534
catch at org/jruby/RubyKernel.java:1118
parse_in_order at
/opt/graalvm-0.18-dk/jre/language/ruby/lib/ruby/stdlib/optparse.rb:1527
order! at
/opt/graalvm-0.18-dk/jre/language/ruby/lib/ruby/stdlib/optparse.rb:1521
order at
/opt/graalvm-0.18-dk/jre/language/ruby/lib/ruby/stdlib/optparse.rb:1513
initialize at
/opt/graalvm-0.18-dk/jre/language/ruby/lib/ruby/truffle/jruby-truffle-tool/lib/truffle/tool.rb:362
<main> at
/opt/graalvm-0.18-dk/jre/language/ruby/lib/ruby/truffle/jruby-truffle-tool/bin/jruby-truffle-tool:5
How can I solve this issue ?
Thanks
--
Rahman USTA
Istanbul JUG
https://github.com/rahmanusta <http://www.kodcu.com/>
More information about the graal-dev
mailing list