1
0

More than 1 year has passed since last update.

rbenv installのエラーを解決

Last updated at Posted at 2022-06-24

経緯

Herokuへデプロイしていたら、Rubyのバージョンが合わなかったので、
バージョンの変更をしようとした。

エラーの抜粋として
BUILD FAILED (macOS 12.1 using ruby-build

xcrun: error: invalid active developer path
が表示された。

結論

上記のエラーで検索するとXcodeが最新版でないことが原因とのこと。

解決策

ターミナルで下記コマンドで最新版にし、必要としていたRubyのバージョンを
無事インストールできました。

$xcode-select --install

参考記事

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0