自动打包 shenzhen

图片发自简书App

安装步骤:

  1. gem install shenzhen error:Could not find a valid gem 'shenzhen' (>= 0), here is why:Unable to download data from http://ruby.taobao.org/ - bad response Not Found 404 (http://ruby.taobao.org/latest_specs.4.8.gz)

  2. gem sources -l gem sources --remove https://rubygems.org/ gem sources -a https://ruby.taobao.org/ gem sources -l error:While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.

  3. sudo gem update --system 升级成功后会提示: RubyGems system software updated

  4. sudo gem install shenzhen error:While executing gem ... (Errno::EPERM)Operation not permitted - /usr/bin/commander

  5. sudo gem install -n/usr/local/bin shenzhen

6.git clone https://github.com/winter20168/winter20168.github.io.git

另外打包时会出现:

Snip20180110_1.png

xcrun:error:unabletofindutility"PackageApplication...
http://blog.csdn.net/itiapp_home/article/details/70241011

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

友情链接更多精彩内容