0

When i install mac os sierra, trying install cocoapods, but appear error:

ERROR: While executing gem ... (Gem::Exception) Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources

but i already installed openssl and ruby,i really don't know is why,does anyone know?

this

Cœur
  • 37,241
  • 25
  • 195
  • 267
nakahira
  • 1
  • 1

1 Answers1

1

Install Cocoapods by below 3 commands

sudo gem update --system -n/usr/local/bin
sudo gem install -n /usr/local/bin cocoapods
pod setup
Gurjinder Singh
  • 9,221
  • 1
  • 66
  • 58