Last Login:sat Oct 23:30:24 on ttys002
sivek_lindemacbook-pro:~ sivek_lin$ sudo gem update--system
Password:
Latest version currently installed. Aborting.
sivek_lindemacbook-pro:~ sivek_lin$ $gem sources-l
-bash:sources:command not found
sivek_lindemacbook-pro:~ sivek_lin$ Gem sources-l
Current SOURCES * * *
https://ruby.taobao.org/
sivek_lindemacbook-pro:~ sivek_lin$ $sudo Gem install-n/usr/local/bin
Error:while Executing gem ... (Gem::commandlineerror)
Specify at least one gem name (e.g. GEM build gemname)
sivek_lindemacbook-pro:~ sivek_lin$ $sudo Gem install-n/usr/sivek_lin/bin
Error:while Executing gem ... (Gem::commandlineerror)
Specify at least one gem name (e.g. GEM build gemname)
sivek_lindemacbook-pro:~ sivek_lin$ sudo gem install-n/usr/local/bin
Error:while Executing gem ... (Gem::commandlineerror)
Specify at least one gem name (e.g. GEM build gemname)
sivek_lindemacbook-pro:~ sivek_lin$ sudo gem install-n/usr/sivek_lin/bin
Error:while Executing gem ... (Gem::commandlineerror)
Specify at least one gem name (e.g. GEM build gemname)
sivek_lindemacbook-pro:~ sivek_lin$ sudo gem install-n/usr/local/bin cocoapods
Successfully installed cocoapods-1.0.1
Parsing documentation for cocoapods-1.0.1
Done installing documentation for Cocoapods after 3 seconds
1 Gem installed
sivek_lindemacbook-pro:~ sivek_lin$ $pod Setup
-bash:setup:command not found
sivek_lindemacbook-pro:~ sivek_lin$ pod Setup
Setting up CocoaPods master Repo
[!] /usr/bin/git Clone Https://github.com/CocoaPods/Specs.git Master
Cloning into ' master ' ...
Error:rpc failed; result=56, HTTP code = 200
Fatal:the remote end hung up unexpectedly
Fatal:early EOF
Fatal:index-pack failed
sivek_lindemacbook-pro:~ sivek_lin$
sivek_lindemacbook-pro:~ sivek_lin$ sudo rm-fr ~/.cocoapods/repos/master
Password:
sivek_lindemacbook-pro:~ sivek_lin$ pod Setup
Setting up CocoaPods master Repo
CocoaPods 1.1.0.rc.3 is available.
To update use: ' Gem install Cocoapods--pre '
[!] This is a test version of we ' d love your to try.
For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at Https://github.com/CocoaPods/Co Coapods/releases/tag/1.1.0.rc.3
Setup completed
sivek_lindemacbook-pro:~ sivek_lin$
Reference URL: https://www.v2ex.com/t/121633
http://blog.cocoapods.org/Repairing-Our-Broken-Specs-Repository/#i-got-linked-here-after-updating-my-gems,-what-to-do?
Cocoapods Install successful terminal code (period Error:rpc failed; result=56, HTTP code = $)