1

I'm trying to install cocoapod on my mac .When I enter the setup command "sudo gem install cocoapods -V" it process and then get stuck at these line

Successfully installed escape-0.0.4
Installing gem cocoapods-0.39.0
Downloading gem cocoapods-0.39.0.gem
GET https://ruby.taobao.org/gems/cocoapods-0.39.0.gem

I let it go for about 2 hours but nothing happening and also nothing downloads anymore. What should I do?

sali
  • 179
  • 1
  • 12

2 Answers2

1

Please try with super user command sudo gem install cocoapods

or

update gem to the newest release using

sudo gem update

follow this

Community
  • 1
  • 1
Zumry Mohamed
  • 9,318
  • 5
  • 46
  • 51
1

Try updating your gems

sudo gem update

then

sudo gem install cocoapods

it might help :)

Rygen
  • 309
  • 4
  • 15
vinbhai4u
  • 1,329
  • 3
  • 19
  • 36
  • Try this solution at last, because "sudo gem update" takes too much time. Do it only if you are sure that there is not any other way. – Asad Mehmood Jun 01 '23 at 12:06