Closed alikenski closed 1 year ago
You need to run it using SUDO if you want to install to the default gem repo under /Library. Your other option is to configure gem to use a directory you do have write access to install its gems.
I second what @Logicoeur said. The best and recommended way of installing gems is to use bundler and add the gem to your Gemfile
.
Hope this helps 🙏
probably some docs would be helpful for lanuch and forget
After running the command
gem install xcode-install
I got errorERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.