Quantcast
Channel: Active questions tagged ruby - Stack Overflow
Viewing all articles
Browse latest Browse all 4619

Whats' the different brew and gem install?

$
0
0

Recently while running pod repo update, it ask me

CocoaPods 1.15.0 is available.To update use: `gem install cocoapods`

So I run sudo gem install cocoapods. It shows all good

Successfully installed cocoapods-1.15.2Parsing documentation for cocoapods-1.15.2Done installing documentation for cocoapods after 1 seconds1 gem installed

To my surprise, when running pod --version, it sill shows 1.12.1

After thinking a while, then I realize I have to run brew upgrade cocoapods.

My question is, when would I know I should run brew vs gem install?Are they stored differently? (Do I have 2 cocoapod now?)What are their differences?


Viewing all articles
Browse latest Browse all 4619

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>