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 get stable --auto-dotfiles #4320

Open
MuthukkaruppanSubramanian opened this issue Mar 7, 2018 · 3 comments
Open

rvm get stable --auto-dotfiles #4320

MuthukkaruppanSubramanian opened this issue Mar 7, 2018 · 3 comments

Comments

@MuthukkaruppanSubramanian

Description

Issue 1:

$ curl -sSL https://get.rvm.io | bash -s stable --ruby
Downloading https://github.com/rvm/rvm/archive/1.29.3.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.29.3/1.29.3.tar.gz.asc
Found PGP signature at: 'https://github.com/rvm/rvm/releases/download/1.29.3/1.29.3.tar.gz.asc',
but no GPG software exists to validate it, skipping.

Upgrading the RVM installation in /home/60026865/.rvm/
RVM PATH line found in /home/60026865/.mkshrc /home/60026865/.profile /home/60026865/.bashrc /home/60026865/.zshrc.
RVM sourcing line found in /home/60026865/.profile /home/60026865/.bash_profile /home/60026865/.zlogin.
Upgrade of RVM in /home/60026865/.rvm/ is complete.

Upgrade Notes:

Error checking user shell via getent ... something went wrong, report a bug.

  • No new notes to display.

Ruby enVironment Manager 1.29.3 (latest) (c) 2009-2017 Michal Papis, Piotr Kuczynski, Wayne E. Seguin

Searching for binary rubies, this might take some time.
No binary rubies available for: cygwin/unknown/x86_64/ruby-2.4.1.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for cygwin.
Installing requirements for cygwin.
Updating system.
Installing required packages: curl, patch, gnupg, make, autoconf, automake, bison, m4, libtool, gcc, gcc-core, mingw64-i686-gcc-core, mingw64-x86_64-gcc-core, zlib-devel, openssl-devel, libcrypt-devel, libcrypt0, libyaml-devel, libyaml0_2, libffi-devel, libreadline-devel, sqlite3, patch, gnupg..
Error running 'requirements_cygwin_libs_install curl patch gnupg make autoconf automake bison m4 libtool gcc gcc-core mingw64-i686-gcc-core mingw64-x86_64-gcc-core zlib-devel openssl-devel libcrypt-devel libcrypt0 libyaml-devel libyaml0_2 libffi-devel libreadline-devel sqlite3 patch gnupg',
please read /home/60026865/.rvm/log/1520400448_ruby-2.4.1/package_install_curl_patch_gnupg_make_autoconf_automake_bison_m4_libtool_gcc_gcc-core_mingw64-i686-gcc-core_mingw64-x86_64-gcc-core_zlib-devel_openssl-devel_libcrypt-devel_libcrypt0_libyaml-devel_libyaml0.log
Requirements installation failed with status: 127.

Issue2:
$ rvm get stable --auto-dotfiles
Downloading https://get.rvm.io
Could not download rvm-installer, please report to https://github.com/rvm/rvm/is sues

Steps to reproduce

  1. I'm having two ruby versions 1.9.3 and 2.4
  2. I have to toggle between these versions
  3. I had installed rvm using the above commands and those issues
  4. Then I tried the rvm get stable --auto-dotfiles to sort it out but again I got some other issue

Environment info

OS: Windows 7_64 bit

@laserlemon
Copy link

I'm also experiencing issue #2 reported above. From what I can tell, I'm reading this from the docs:

get.rvm.io is a redirect to https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer

but it doesn't appear to be working for me locally. Opening https://get.rvm.io in a browser or with curl both hang, while navigating to the fully expanded URL works. I can use the full URL for installation but not for subsequent updates using rvm get stable because that command uses the short URL.

I'm on a newly set-up computer but I can confirm that get.rvm.io hangs on my old machine as well, so if it's my issue, it's at the network level not local. I hope that helps!

@laserlemon
Copy link

laserlemon commented Mar 8, 2018

Here's my output from a verbose curl:

$ curl -v https://get.rvm.io/
*   Trying 2600:3c03::f03c:91ff:fedb:6957...
* TCP_NODELAY set
* Connected to get.rvm.io (2600:3c03::f03c:91ff:fedb:6957) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):

And that's where it hangs. It eventually fails with:

* LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to get.rvm.io:443
* stopped the pause stream!
* Closing connection 0
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to get.rvm.io:443

@laserlemon
Copy link

I figured out how to connect but I don't know enough about networking to understand what the problem is.

curl https://get.rvm.io/ fails.
curl --ipv4 https://get.rvm.io/ succeeds.

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

No branches or pull requests

2 participants