gem install fails with openssl failure

后端 未结 11 1083
花落未央
花落未央 2020-12-07 07:51

I tried to install cocoapods (http://cocoapods.org/) on my OSX Mountain Lion.

 moshe-mbp:~ moshem$ gem install cocoapods
 ERROR:  Could not find a valid gem          


        
11条回答
  •  Happy的楠姐
    2020-12-07 08:36

    This is fixed by avoiding https and using the insecure http instead. Running this worked for me.

    gem source -a http://rubygems.org/
    

提交回复
热议问题