Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Fix gem install error - MacOS Bug Sur

If you get this error message:

ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /usr/bin directory.


sudo gem install [gem-name] -n /usr/local/bin


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment