`sudo gem install` fails with ERROR: While executing gem … (Errno::EPERM)
Hello all,
To solve this:
1. Run nano ~/.gemrc
in your terminal.
2. Add the following line gem: -n/usr/local/bin
to the empty file. (CMD + V)
3. Save (CTRL + 0) and quit (CTRL + X)
Try again installing your gem 🙂
No comments yet.