-1
我嘗試和創業板安裝的CocoaPods我得到一個錯誤:安裝cocoapods時出錯?
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
這是什麼意思???
我嘗試和創業板安裝的CocoaPods我得到一個錯誤:安裝cocoapods時出錯?
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
這是什麼意思???
你需要root權限才能寫入/Library
,所以你需要使用sudo
,作爲the instructions告訴你:
$ sudo gem install cocoapods
我的朋友,我試試這個代碼,我得到這個messegae在最後一行的「安裝17顆寶石「 – trousout
那麼問題就解決了。 – Droppy
我如何知道我安裝了cocoapods? – trousout