-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update RubyGems fails #1479
Comments
There's not much backtrace there! I can't find a |
Yes, of course. How can I pass this option ? because adding it to the command line doesn't work: ➜ gem update --system -Xbacktraces.raise
ERROR: While executing gem ... (OptionParser::InvalidOption)
invalid option: -Xbacktraces.raise |
Ah sorry, use https://github.com/oracle/truffleruby/blob/vm-1.0.0-rc9/doc/user/options.md |
I did that: ➜ gem update --system -- -Xbacktraces.raise
Updating rubygems-update
Successfully installed rubygems-update-2.7.8
Parsing documentation for rubygems-update-2.7.8
Done installing documentation for rubygems-update after 3 seconds
Parsing documentation for rubygems-update-2.7.8
Done installing documentation for rubygems-update after 1 seconds
Installing RubyGems 2.7.8
Bundler 1.16.6 installed
RubyGems 2.7.8 installed
Regenerating binstubs
Parsing documentation for rubygems-2.7.8
Installing ri documentation for rubygems-2.7.8
=== 2.7.8 / 2018-11-02
Minor enhancements:
...
------------------------------------------------------------------------------
RubyGems installed the following executables:
/Users/jules/tools/graalvm-ce-1.0.0-rc9/Contents/Home/jre/languages/ruby/bin/trufflegem
/Users/jules/tools/graalvm-ce-1.0.0-rc9/Contents/Home/jre/languages/ruby/bin/trufflebundle
Ruby Interactive (ri) documentation was installed. ri is kind of like man
pages for Ruby libraries. You may access it like this:
ri Classname
ri Classname.class_method
ri Classname#instance_method
If you do not wish to install this documentation in the future, use the
--no-document flag, or set it as the default in your ~/.gemrc file. See
'gem help env' for details.
RubyGems system software updated
➜ ruby -v
truffleruby 1.0.0-rc9, like ruby 2.4.4, GraalVM CE Native [x86_64-darwin]
➜ gem -v
2.7.8 and this time, it worked... I'll re-try tomorrow to make it fail with the |
Very likely related to #2438. truffleruby/lib/truffle/rubygems/defaults/truffleruby.rb Lines 25 to 30 in 8839057
|
Hi,
I was trying Truffle v1.0.0-RC9 and just after installing it, I tried to update RubyGems, which failed:
It was very long and finally failed.
Here's my Graal version:
here's my Ruby version:
The text was updated successfully, but these errors were encountered: