Skip to content
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

rvm list remote hangs indefinitely #4230

Closed
JoeNyland opened this issue Nov 12, 2017 · 4 comments
Closed

rvm list remote hangs indefinitely #4230

JoeNyland opened this issue Nov 12, 2017 · 4 comments
Assignees
Labels
Milestone

Comments

@JoeNyland
Copy link
Contributor

Description

rvm list remote hangs indefinitely

Steps to reproduce

  1. rvm list remote

Expected behavior

RVM lists remote rubies available to install

Actual behavior

https://gist.github.com/JoeNyland/1f6bfc559c7e3f568c7a7969777fe690

Environment info

system:

  system:
    uname:        "Darwin Joes-MBP 17.2.0 Darwin Kernel Version 17.2.0: Fri Sep 29 18:27:05 PDT 2017; root:xnu-4570.20.62~3/RELEASE_X86_64 x86_64 i386 MacBookPro11,3 Darwin"
    name:         "OSX"
    version:      "10.13"
    architecture: "x86_64"
    bash:         "/usr/local/bin/bash => GNU bash, version 4.4.12(1)-release (x86_64-apple-darwin16.3.0)"
    zsh:          "/bin/zsh => zsh 5.3 (x86_64-apple-darwin17.0)"
    remote_path:  "osx/10.13/x86_64"

  rvm:
    version:      "1.29.3 (master)"
    updated:      "38 minutes 33 seconds ago"
    path:         "/Users/joenyland/.rvm"
    autolibs:     "[4] Allow RVM to use package manager if found, install missing dependencies, install package manager (only OS X)."

  homes:
    gem:          "not set"
    ruby:         "not set"

  binaries:
    ruby:         "/usr/bin/ruby"
    irb:          "/usr/bin/irb"
    gem:          "/usr/bin/gem"
    rake:         "/usr/bin/rake"

  environment:
    PATH:         "/usr/local/opt/coreutils/libexec/gnubin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/joenyland/.rvm/bin"
    GEM_HOME:     ""
    GEM_PATH:     ""
    MY_RUBY_HOME: ""
    IRBRC:        ""
    RUBYOPT:      ""
    gemset:       ""
@pkuczynski
Copy link
Member

I noticed this behavior recently. Not sure what's the cause yet. I will have a look next week...

@pkuczynski pkuczynski added the bug label Nov 12, 2017
@pkuczynski pkuczynski added this to the rvm-1.29.4 milestone Nov 12, 2017
@pkuczynski pkuczynski self-assigned this Nov 12, 2017
@garymoon
Copy link

I'm also experiencing this issue. I noticed it when attempting to discern why rvm was incorrectly reporting there were no binary distributions available for versions I knew were on rubies.travis-ci.org. Bash uses a considerable amount of CPU for the duration of the hang. I plan to look into this myself.

@garymoon
Copy link

I see the Travis binaries cannot be used on OS X, so that explains that.

It looks like the script gets stuck calling __rvm_include_travis_binaries in an infinite loop. If it's useful, my info:

ruby-2.5.0:

  system:
    uname:        "Darwin MacBook-Pro-3.local 15.6.0 Darwin Kernel Version 15.6.0: Tue Jan  9 20:12:05 PST 2018; root:xnu-3248.73.5~1/RELEASE_X86_64 x86_64"
    name:         "OSX"
    version:      "10.11"
    architecture: "x86_64"
    bash:         "/opt/boxen/homebrew/bin/bash => GNU bash, version 4.4.19(1)-release (x86_64-apple-darwin15.6.0)"
    zsh:          "/bin/zsh => zsh 5.0.8 (x86_64-apple-darwin15.0)"
    remote_path:  "osx/10.11/x86_64"

  rvm:
    version:      "1.29.3 (master)"
    updated:      "12 hours 30 minutes 22 seconds ago"
    path:         "/Users/gary/.rvm"
    autolibs:     "[4] Allow RVM to use package manager if found, install missing dependencies, install package manager (only OS X)."

  ruby:
    interpreter:  "ruby"
    version:      "2.5.0p0"
    date:         "2017-12-25"
    platform:     "x86_64-darwin15"
    patchlevel:   "2017-12-25 revision 61468"
    full_version: "ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin15]"

  homes:
    gem:          "/Users/gary/.rvm/gems/ruby-2.5.0"
    ruby:         "/Users/gary/.rvm/rubies/ruby-2.5.0"

  binaries:
    ruby:         "/Users/gary/.rvm/rubies/ruby-2.5.0/bin/ruby"
    irb:          "/Users/gary/.rvm/rubies/ruby-2.5.0/bin/irb"
    gem:          "/Users/gary/.rvm/rubies/ruby-2.5.0/bin/gem"
    rake:         "/Users/gary/.rvm/gems/ruby-2.5.0@global/bin/rake"

  environment:
    PATH:         "/Users/gary/.rvm/gems/ruby-2.5.0/bin:/Users/gary/.rvm/gems/ruby-2.5.0@global/bin:/Users/gary/.rvm/rubies/ruby-2.5.0/bin:/Users/gary/.rakudobrew/bin:/Users/gary/perl5/perlbrew/bin:/Users/gary/perl5/perlbrew/perls/perl-5.16.0/bin:/sw/bin:/sw/sbin:/opt/local/bin:/opt/local/sbin:/Users/gary/.nvm/versions/node/v9.2.1/bin:bin:/opt/boxen/bin:/opt/boxen/homebrew/bin:/opt/boxen/homebrew/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/MacGPG2/bin:/Library/TeX/texbin:/Users/gary/.rvm/bin"
    GEM_HOME:     "/Users/gary/.rvm/gems/ruby-2.5.0"
    GEM_PATH:     "/Users/gary/.rvm/gems/ruby-2.5.0:/Users/gary/.rvm/gems/ruby-2.5.0@global"
    MY_RUBY_HOME: "/Users/gary/.rvm/rubies/ruby-2.5.0"
    IRBRC:        "/Users/gary/.rvm/rubies/ruby-2.5.0/.irbrc"
    RUBYOPT:      ""
    gemset:       ""

@pkuczynski pkuczynski modified the milestones: rvm-1.29.4, rvm-1.29.5 Sep 23, 2018
@pkuczynski pkuczynski modified the milestones: rvm-1.29.5, rvm-1.29.7 Dec 12, 2018
@pkuczynski pkuczynski modified the milestones: rvm-1.29.7, rvm-1.29.8 Jan 3, 2019
@pkuczynski pkuczynski modified the milestones: rvm-1.29.8, rvm-1.29.9 May 8, 2019
@pkuczynski pkuczynski modified the milestones: rvm-1.29.9, rvm-1.29.10 Jul 10, 2019
@pkuczynski pkuczynski modified the milestones: rvm-1.29.10, rvm-1.29.11 Mar 25, 2020
@pkuczynski pkuczynski modified the milestones: rvm-1.29.11, rvm-1.29.12 Dec 29, 2020
@pkuczynski pkuczynski modified the milestones: rvm-1.29.12, rvm-1.29.13 Jan 15, 2021
@JoeNyland
Copy link
Contributor Author

It seems this is no longer applicable:

$ rvm list remote

# No remote rubies available
# Check 'rvm list known' for what can be installed.

🤷🏻‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants