You don't have write permissions for the /usr/bin directory.
zhangsuya opened this issue · comments
苏 commented
sudo gem install xcodeproj ,then You don't have write permissions for the /usr/bin directory.
coderliu007 commented
coderliu007 commented
export GEM_HOME=$HOME/.gem
export PATH=$PATH:$GEM_HOME/bin
After executing the above command on the command line
reenforce
sudo gem install xcodeproj
Successful installation