env: ruby_executable_hooks: No such file or directory

最近换了机器,mac的版本是10.11.3,安装cocoapod出现这个提示“env: ruby_executable_hooks: No such file or directory”。
google了好久,最后装了个cocoapod的插件https://github.com/kattrali/cocoapods-xcode-plugin
在终端输入 which ruby_executable_hooks 或 which GEM
把得到的路径复制,打开Xcode-> Product-> cocoaPods – >GEM_PATH 粘贴刚才得到的路径

http://www.jianshu.com/p/6ff1903c3f11

    原文作者:kuazi
    原文地址: https://www.jianshu.com/p/f581f73d0cee
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞