以下坑均已踩过:
1、
(eval):3:in `to_nfc': stack level too deep (SystemStackError)
from /usr/local/lib/ruby/gems/2.4.0/gems/domain_name-0.5.20170404/lib/domain_name.rb:289:in `normalize'
from /usr/local/lib/ruby/gems/2.4.0/gems/domain_name-0.5.20170404/lib/domain_name.rb:100:in `initialize'
use rvm to reinstall ruby
安装RVM:$ curl -L http://get.rvm.io | bash -s stable
2、
curl: (60) SSL certificate : unable to get local issuer certificate
①use "curl" with "-k" option to ignore certificate 参见https://stackoverflow.com/questions/24611640/curl-60-ssl-certificate-unable-to-get-local-issuer-certificate
② create a file called "~/.curlrc" with content "--insecure" 参见https://stackoverflow.com/questions/18964175/how-to-fix-curl-60-ssl-certificate-invalid-certificate-chain
3、
unknown error -1=ffffffffffffffff Command /usr/bin/codesign failed with exit code 1
没有下载证书(.p12)到电脑本地并运行导入到keychain当中造成的。默认导入到钥匙串“登录”里面,需复制粘贴到“系统”里面,导入到“系统”里面之后,如果“登录”里面有重复的该证书,删除之。然后右键设置访问控制权限为“允许所有应用程序访问此项目”
网友评论