¿Alguien ha conseguido que Ruby 1.8.7 funcione en Monterey con RVM?
Probé todas las soluciones reportadas y nada parece funcionar para mí. Sé que 1.8.7 está totalmente en desuso y no es compatible, pero todavía hay muchos en esta versión.
Versión de RVM: rvm 1.29.12 (última) Versión de Gem: 3.2.3
El último que intenté fue:
$ export warnflags=-Wno-error=implicit-function-declaration $ rvm install ruby-1.8.7 --with-openssl-dir=$HOME/.rvm/usr Warning! Requested ruby installation which requires another ruby available - installing ruby-1.8.7-p374 first. ruby-1.8.7-p374 - #removing src/ruby-1.8.7-p374.. Checking requirements for osx. Installing requirements for osx. Updating system.......... Installing required packages: autoconf, automake, libtool, pkg-config, coreutils, libyaml, libksba, readline, zlib, openssl................ Certificates bundle '/usr/local/etc/openssl@3/cert.pem' is already up to date. Requirements installation successful. Warning: DYLD_LIBRARY_PATH environment variable is set, this might interact with the compilation and ruby. Installing Ruby from source to: /Users/myuser/.rvm/rubies/ruby-1.8.7-p374, this may take a while depending on your cpu(s)... ruby-1.8.7-p374 - #downloading ruby-1.8.7-p374, this may take a while depending on your connection... ruby-1.8.7-p374 - #extracting ruby-1.8.7-p374 to /Users/myuser/.rvm/src/ruby-1.8.7-p374..... ruby-1.8.7-p374 - #applying patch /Users/myuser/.rvm/patches/ruby/1.8.7/stdout-rouge-fix.patch. ruby-1.8.7-p374 - #applying patch /Users/myuser/.rvm/patches/ruby/1.8.7/no_sslv2.diff. ruby-1.8.7-p374 - #applying patch /Users/myuser/.rvm/patches/ruby/GH-488.patch. ruby-1.8.7-p374 - #applying patch /Users/myuser/.rvm/patches/ruby/ssl_no_ec2m.patch. ruby-1.8.7-p374 - #configuring............................... ruby-1.8.7-p374 - #post-configuration. ruby-1.8.7-p374 - #compiling................................. Error running '__rvm_make -j12', please read /Users/myuser/.rvm/log/1638292263_ruby-1.8.7-p374/make.log There has been an error while running make. Halting the installation. To proceed rvm requires a ruby-1.8.7-p374 compatible ruby is installed. We attempted to install it automatically but it failed with status 2. Please install it manually (or a compatible alternative) to proceed.Estos son los pasos que usé para instalar ruby-1.8.7 en una Mac M1 con Monterey:
rvm install 1.8.7 --with-openssl-dir=/usr/local/ssl --autolibs=disable --with-gcc=gcc-6