Search code examples
rubyrubygemscocoapods

Installing CocoaPods: no response


Trying to install CocoaPods from the terminal:

$ sudo gem install cocoapods

After entering my root password, nothing happens.

How can I debug that?


Solution

  • For others wondering the same, installing the gem takes forever. If you run:

    export GEM_HOME=~/.gems
    export PATH=$GEM_HOME/bin:$PATH
    
    gem install cocoapods -V
    

    Installing with flag V enables verbose output which will let you see all the output as it is going through the download and install, it's quite a lot.