gem install fails with openssl failure

后端 未结 11 1084
花落未央
花落未央 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条回答
  •  旧巷少年郎
    2020-12-07 08:38

    Try using http://rubygems.org/ (without SSL) as a source — that fixed the error for me.

    gem source -r https://rubygems.org/
    gem source -a http://rubygems.org/
    gem install cocoapods
    

提交回复
热议问题