Getting "Permission denied" error while installing ruby-2.5.8 on M1 Mac #1903
-
I have a brand new M1 MacBook Pro that I'm trying to install Ruby 2.5.8 on. I used to use rvm but thought I would give rbenv a try on this new machine. So, I installed rbenv with Homebrew (
It looks like it can't create a new directory in
I was going to try to force the issue by creating |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, installing Ruby with rbenv and ruby-build absolutely does not need write permissions to Can you check your environment variables for the mention of "mysql"? Can you share with us the contents of the full log file? You can paste it as a Gist and link it here. |
Beta Was this translation helpful? Give feedback.
Hi, installing Ruby with rbenv and ruby-build absolutely does not need write permissions to
/usr/local
. Also, compiling Ruby does not link it to mysql automatically. Something is wrong here.Can you check your environment variables for the mention of "mysql"?
env | grep mysql
Can you share with us the contents of the full log file? You can paste it as a Gist and link it here.