Workaround for ruby-install Download Failed issue
  • I use ruby-install to manage rubies. Recently the normal usage in the command line seems to be broken. Specifically the step where the CLI downloads the ruby version from ruby-lang.org

  • I noticed that it's attempting to download .bz2 files but that they don't seem to exist in the default ruby-lang.org cache.

  • The fix is to pass in the url explicitly, and change the end of the url to .tar.gz, as follows

  • ```plain text ruby-install -c -u https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.0.tar.gz ```


  • Website Page