原文地址:https://www.zfanw.com/blog/error-while-executing-gem-gem-remote-fetch-error.html 我对命令行下安装 gem 包或是 npm 包有很大的心理阴影,因为出现无法​安装的概率实在太大了 – 每次都要破口大骂 gfw. 这一回是在更新 gem 时: gem update --system 返回的错误如下: ERROR: While executing gem … (Gem::RemoteFetcher::Fetch…
OS X 10.11 安装Cocoapods 出现问题的解决方法 今天尝试用 Cocoapods安装个第三方库.. 输入pod install, 发现 command not find. WTF! 估计是升级10.11后Cocoapods被干掉了. 我输入 sudo gem install cocoa pods 之后,出现如下问题: ERROR: While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/x…
最近pods  0.39.0 升级1.1.1  ,发现一个坑,好纠结,好歹最后解决了 过程如下: 本来我想直接执行: $ sudo gem install cocoapods  // 安装cocoapods 遇到一个错误: ERROR:  While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/pod 卧槽,这什么鬼?然后就找解决办法,各种升级命令都不行,无奈之下,就采取先卸载再安装了! ========…
今天安装cocoods 出现下面的问题:ERROR:  While executing gem ... (Errno::EPERM)     Operation not permitted - /usr/bin/xcodeproject 第一种方法(我是用此方法解决的):终端输入 mkdir -p $HOME/Software/ruby export GEM_HOME=$HOME/Software/ruby gem install cocoapods export PATH=$PATH:$HOM…
因为突然要用到cocospod,突然发现在使用pod install的时候出现 -bash: pod: command not found 我去-不知道为什么,然后我就想重新安装下cocospod,在使用sudo gem install cocoapods的时候出现错误 ERROR:  While executing gem ... (Errno::EPERM)     Operation not permitted - /usr/bin/pod what r u 弄啥勒…… 后来在http:/…
今天安装 CocoaPods 时遇到了这个问题. ERROR: While executing gem ... (Gem::DependencyError) Unable to resolve dependencies: cocoapods requires cocoapods-trunk (< 2.0, >= 1.2.0), molinillo (~> 0.5.7), xcodeproj (< 2.0, >= 1.4.4), colored2 (~> 3.1), ru…
在cocoapods 执行 sudo gem install cocoapods 的时候出现  While executing gem ... (Gem::FilePermissionError)    You don't have write permissions for the /usr/bin directory. 改为 sudo gem install -n /usr/local/bin cocoapods  即可 如果是卸载的话,把上面这句改成: sudo gem uninstall…
//1.删除原gem源 gem sources --remove https://rubygems.org/ //2.添加国内镜像 gem source -a https://gems.ruby-china.com //3.打印是否替换成功 gem sources -l //4.更换成功后打印如下 *** CURRENT SOURCES *** https://gems.ruby-china.com sudo gem install sass Building native extensions…
最近在使用 vagrant homestead 时,不小心在虚拟机上使用了 exit 命令退出虚拟机,导致再使用 vagrant up 时出现以下错误: Bringing machine 'laravel53test' up with 'virtualbox' provider... ==> laravel53test: Checking if box 'laravel/homestead' is up to date... ==> laravel53test: Clearing any pr…
 bin/kafka-topics.sh --create --zookeeper es1:2181 --replication-factor 1 --partitions 1 --topic topic1  kafka创建会话,报Error while executing topic command : Replication factor: 1 larger than available brokers: 0. 首先贴出来 kafka的配置文件 broker.id=0 advertised.…