You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to follow the documentation on how to install RuboCop, but the instructions failed. The instructions on https://rubocop.org/ said to run:
$ gem install rubocop
However, this did not work on my setup:
$ gem install rubocop
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.
$
I thought maybe there were additional setup instructions, such as maybe creating an environment, installing a different interpreter, or specifying an installation path, but they said that there weren't any additional instructions. They said that it was an issue with rubygems.
This is a default install on Mac using the system interpreter.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was told by RuboCop (rubocop/rubocop#12130) that this is a bug in Rubygems.
I tried to follow the documentation on how to install RuboCop, but the instructions failed. The instructions on https://rubocop.org/ said to run:
However, this did not work on my setup:
I thought maybe there were additional setup instructions, such as maybe creating an environment, installing a different interpreter, or specifying an installation path, but they said that there weren't any additional instructions. They said that it was an issue with rubygems.
This is a default install on Mac using the system interpreter.
Beta Was this translation helpful? Give feedback.
All reactions