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
  • 34,719
  • 24
  • 185
  • 251
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
  • 7,272
  • 1
  • 57
  • 51