安裝cocoapods
在運(yùn)行 “sudo gem install cocoapods” 的時(shí)候出現(xiàn)問題:ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/fuzzy_match
則可以改為:
sudo gem install -n /usr/local/bin cocoapods
安裝monkey
hufengdeiMac:~ hufeng$ sudo gem install /usr/bin crash_monkey --no-ri --no-rdoc
ERROR: Could not find a valid gem '/usr/bin' (>= 0) in any repository
ERROR: Possible alternatives: userbin
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /usr/bin directory.
解決:sudo gem install -n /usr/local/bin crash_monkey --no-ri --no-rdoc
<font color=#ff0000>出現(xiàn)類似的問題,需要設(shè)置當(dāng)前路徑的訪問權(quán)限;</font>