You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wait for the activity indicator to seemingly hang and press Ctrl+C
Expected behavior
It should just finish the process without user interaction.
Actual behavior
When pressing Ctrl+C, it can be observed from the log that we actually interrupted an interactive user prompt: The user was asked to answer a question with yes or no.
If blindly typing "y" or "n" and hitting enter while the process seemingly hangs, we can let it continue.
ruby-2.2.2 - #removing src/ruby-2.2.2..
ruby-2.2.2 - #removing rubies/ruby-2.2.2..
Searching for binary rubies, this might take some time.
No binary rubies available for: gentoo/base-2.6/x86_64/ruby-2.2.2.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for rvm_pkg.
Warning, you are using 'rvm autolibs rvm_pkg', this is rarely used and can produce errors,
make sure to report any problems to https://github.com/rvm/rvm/issues
(pkg-config:11754): GLib-CRITICAL **: 13:25:28.745: g_string_insert_len: assertion 'len == 0 || val != NULL' failed
(pkg-config:11769): GLib-CRITICAL **: 13:25:30.055: g_string_insert_len: assertion 'len == 0 || val != NULL' failed
(pkg-config:11791): GLib-CRITICAL **: 13:25:30.130: g_string_insert_len: assertion 'len == 0 || val != NULL' failed
(pkg-config:11797): GLib-CRITICAL **: 13:25:30.159: g_string_insert_len: assertion 'len == 0 || val != NULL' failed
(pkg-config:11803): GLib-CRITICAL **: 13:25:30.187: g_string_insert_len: assertion 'len == 0 || val != NULL' failed
(pkg-config:11809): GLib-CRITICAL **: 13:25:30.214: g_string_insert_len: assertion 'len == 0 || val != NULL' failed
Requirements installation successful.
Installing Ruby from source to: /home/kakra/.rvm/rubies/ruby-2.2.2, this may take a while depending on your cpu(s)...
ruby-2.2.2 - #downloading ruby-2.2.2, this may take a while depending on your connection...
ruby-2.2.2 - #extracting ruby-2.2.2 to /home/kakra/.rvm/src/ruby-2.2.2.....
ruby-2.2.2 - #applying patch /home/kakra/.rvm/patches/ruby/2.2.2/fix_installing_bundled_gems.patch.
ruby-2.2.2 - #applying patch /home/kakra/.rvm/patches/ruby/2.2.2/openssl3.patch.
ruby-2.2.2 - #configuring.........................................................
ruby-2.2.2 - #post-configuration..
ruby-2.2.2 - #compiling.............................................................................................................................................................................................|
ruby-2.2.2 - #installing................
ruby-2.2.2 - #making binaries executable..
ruby-2.2.2 - #downloading rubygems-3.0.6
ruby-2.2.2 - #extracting rubygems-3.0.6......
ruby-2.2.2 - #removing old rubygems........
ruby-2.2.2 - #installing rubygems-3.0.6...............................................
ruby-2.2.2 - #gemset created /home/kakra/.rvm/gems/ruby-2.2.2@global
ruby-2.2.2 - #importing gemset /home/kakra/.rvm/gemsets/global.gems...............................................^CError running 'gemset_import_list gem-wrappers rubygems-bundler rake rvm bundler',
please read /home/kakra/.rvm/log/1572351922_ruby-2.2.2/gemsets.import.global.log
ruby-2.2.2 - #generating global wrappers................
ruby-2.2.2 - #gemset created /home/kakra/.rvm/gems/ruby-2.2.2
ruby-2.2.2 - #importing gemsetfile /home/kakra/.rvm/gemsets/default.gems evaluated to empty gem list
ruby-2.2.2 - #generating default wrappers................
ruby-2.2.2 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
Install of ruby-2.2.2 - #complete
Wow, I actually got the same issue above with this hanging on ruby-2.3.3 - #importing gemset .../global.gems - please wait, but then typing y into the ether and hitting enter caused the process to continue
I am encountering this in an unattended script - it spends ~15 minutes waiting here before continuing. There is no interactivity, so there is no way for a human to press 'y + enter'.
yes | rvm install .... doesn't seem fix it in a script, as the solution here suggests might work.
Is there a way to tell rvm itself to not ask the question? Or some other trick to have a script "press y and then enter" at the right moment?
Description
I've run
rvm reinstall all --force
due to changing autolibs torvm_pkg
(which is needed on Gentoo lately due to OpenSSL header incompatibilities).During the process it seemingly froze, and I had to press
Ctrl+C
:Steps to reproduce
rvm autolibs rvm_pkg
rvm reinstall all --force
as instructedCtrl+C
Expected behavior
It should just finish the process without user interaction.
Actual behavior
When pressing
Ctrl+C
, it can be observed from the log that we actually interrupted an interactive user prompt: The user was asked to answer a question with yes or no.If blindly typing "y" or "n" and hitting enter while the process seemingly hangs, we can let it continue.
gemsets.import.global.log
Environment info
The text was updated successfully, but these errors were encountered: