Description I am stuck on this for two days. I am unable to install any ruby version using rvm. I tried to uninstall brew and install it again but the issue is still there. Please don't mind i am very new to ruby on rails. thanks for the help.
Here i have attached all the console errors and steps i performed.
Steps to reproduce
➜ ~ rvm list known
➜ ~ rvm | head -n 1
Ruby enVironment Manager 1.29.12 (latest) (c) 2009-2020 Michal Papis, Piotr Kuczynski, Wayne E. Seguin
➜ ~ curl -sSL https://get.rvm.io | bash -s stable
Downloading https://github.com/rvm/rvm/archive/1.29.12.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.29.12/1.29.12.tar.gz.asc
Found PGP signature at: 'https://github.com/rvm/rvm/releases/download/1.29.12/1.29.12.tar.gz.asc',
but no GPG software exists to validate it, skipping.
Upgrading the RVM installation in /Users/macbookpro/.rvm/
RVM PATH line found in /Users/macbookpro/.mkshrc /Users/macbookpro/.profile /Users/macbookpro/.bashrc /Users/macbookpro/.zshrc.
RVM sourcing line found in /Users/macbookpro/.profile /Users/macbookpro/.bash_profile /Users/macbookpro/.zlogin.
Upgrade of RVM in /Users/macbookpro/.rvm/ is complete.
Thanks for installing RVM
Please consider donating to our open collective to help us maintain RVM.
Donate: https://opencollective.com/rvm/donate
➜ ~ rvm install "ruby-2.1.10"
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/12.3/x86_64/ruby-2.1.10.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Installing requirements for osx.
Updating system - please wait
Installing required packages: autoconf, automake, libtool, pkg-config, coreutils, libyaml, libksba, readline, zlib, openssl - please wait
There were package installation errors, make sure to read the log.
Try brew tap --repair and make sure brew doctor looks reasonable.
Check Homebrew requirements https://docs.brew.sh/Installation
Error running 'requirements_osx_brew_libs_install autoconf automake libtool pkg-config coreutils libyaml libksba readline zlib openssl',
please read /Users/macbookpro/.rvm/log/1652608512_ruby-2.1.10/package_install_autoconf_automake_libtool_pkg-config_coreutils_libyaml_libksba_readline_zlib_openssl.log
Requirements installation failed with status: 1.
I have installed brew correctly. Installed RVM attached its version above. Still not installing any ruby.
Expected behavior: It should work as brew and rvm is showing correct outputs. But when i am installing ruby its just not working.
➜ ~ rvm info
system:
system:
uname: "Darwin macbooks-MacBook-Pro.local 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:45:05 PDT 2022; root:xnu-8020.101.4~15/RELEASE_X86_64 x86_64"
name: "OSX"
version: "12.3"
architecture: "x86_64"
bash: "/bin/bash => GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin21)"
zsh: "/bin/zsh => zsh 5.8 (x86_64-apple-darwin21.0)"
remote_path: "osx/12.3/x86_64"
xcode: "13.3.1"
rvm:
version: "1.29.12 (latest)"
updated: "12 minutes 29 seconds ago"
path: "/Users/macbookpro/.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/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/macbookpro/.rvm/bin"
GEM_HOME: ""
GEM_PATH: ""
MY_RUBY_HOME: ""
IRBRC: ""
RUBYOPT: ""
gemset: ""