@Marchan4 (Marchan4)

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

MySQLバージョン5.7をインストールできたのにMySQL2をインストールできない。

使用環境がRuby 3.0.0、MySQL 5.7、Homebrew 3.0.5です。使用機器がmacOSです。

MySQLバージョン5.7をインストールできたのに、MySQL2をインストールできなかったのですが、
以下のエラーが出ました。

$ gem install mysql2

上記のコマンドを実行させて頂いたところ、下記のエラーが出ました。

ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Library/Ruby/Gems/2.6.0 director
y.

ちなみに、MySQLバージョン5.7をインストールした時のコマンドは以下の通りです。

$ brew install mysql@5.7

このようにMySQLバージョン5.7をインストールできたのにMySQL2をインストールできませんでした。

0 likes

1Answer

Your answer might help someone💌