rvm/rvm

Unble to install any ruby version through rvm on Monterey M1 Mac

Ouverte

#5 153 ouverte le 12 nov. 2021

 (33 commentaires) (0 réaction) (0 personne assignée)Shell (976 forks)batch import
good first issueplatform: macos

Métriques du dépôt

Stars
 (4 405 étoiles)
Métriques de merge PR
 (Merge moyen 1j 5h) (3 PRs mergées en 30 j)

Description

Description

Unable to install any ruby version through rvm on Monterey on M1 Mac getting the error "Error running '__rvm_make -j8', every time,

Steps to reproduce

  1. rvm install 2.5.0 or rvm install 2.3.6

Expected behavior

ruby to be installed successfully

Actual behavior

Build failing (unable to complete the installation) always throwing the following error "Error running '__rvm_make -j8'

Debug mode:

Environment info

system: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

system: uname: "Darwin PUJITHs-MacBook-Air.local 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:24 PDT 2021; root:xnu-8019.41.5~1/RELEASE_ARM64_T8101 arm64" name: "OSX" version: "12.0" architecture: "arm64" bash: "/opt/homebrew/bin/bash => GNU bash, version 5.1.8(1)-release (aarch64-apple-darwin20.4.0)" zsh: "/bin/zsh => zsh 5.8 (x86_64-apple-darwin21.0)" remote_path: "osx/12.0/arm64" xcode: ""

rvm: version: "1.29.12-next (master)" updated: "17 hours 55 minutes 52 seconds ago" path: "/Users/pujith22/.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/rak

environment: PATH: "/Users/pujith22/.asdf/shims:/opt/homebrew/Cellar/asdf/0.8.1_1/libexec/bin:/opt/homebrew/opt/ruby@2.5/bin:/Users/pujith22/.rbenv/bin:/Users/pujith22/.nvm/versions/node/v16.4.2/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/pujith22/.rvm/bin" GEM_HOME: "" GEM_PATH: "" MY_RUBY_HOME: "" IRBRC: "" RUBYOPT: "" gemset: ""

Guide contributeur