美文网首页
Fastlane installation

Fastlane installation

作者: 想养只土狗 | 来源:发表于2018-09-13 17:44 被阅读23次

Command line:
sudo gem install fastlane

  1. Error:
ERROR:  Could not find a valid gem 'fastlane' (>= 0), here is why:
          Unable to download data from https://gems.ruby-china.org/ - bad response Not Found 404 (https://gems.ruby-china.org/specs.4.8.gz)

Solution - 修改 source:
gem sources -r https://gems.ruby-china.org/
gem sources -a https://gems.ruby-china.com

  1. 再次尝试:sudo gem install fastlane 遇到新问题...
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /usr/bin directory.

修改command为:
sudo gem install fastlane -n /usr/local/bin

Succeeded!

相关文章

网友评论

      本文标题:Fastlane installation

      本文链接:https://www.haomeiwen.com/subject/ofhggftx.html