我对ruby,gems等很陌生,但是安装了fastlane并且安装的很好。然后,我就遇到了这个问题,为提供:Broken Fastlane安装/混合Ruby版本
https://github.com/fastlane/deliver/issues/349
我试图更新到FASTLANE的最新版本,但随后就遇到了这个问题:
https://github.com/fastlane/fastlane/issues/567
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/sigh
我试过
gem update -n /usr/local/bin fastlane
gem update -n /usr/local/bin sigh
gem update -n /usr/local/bin deliver
机智成功。这些只是使我这个错误:
Unable to activate deliver-1.9.0, because plist-3.2.0 conflicts with plist (~> 3.1.0 ...
我也试过
sudo su
sudo gem install fastlane --verbose
exit
没有成功。之后,我尝试安装捆绑软件,一个新的红宝石版本,并进行清理和重新安装。没有成功。现在一切都似乎是在一个糟糕的状态,并试图与正常命令
install fastlane --verbose
导致
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
使用sudo相同的命令安装FASTLANE给出:
/usr/local/lib/ruby/gems/2.3.0/gems/snapshot-1.6.0/lib/snapshot/version.rb
ERROR: While executing gem ... (TypeError)
no implicit conversion of nil into String
怎么办??
ruby -v
给我ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]
和echo $PATH
给我/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin