title: You cannot run CocoaPods as root (Windows 10)
body: <p>I'm setting up a new react-native firebase project following the 'Getting Started' section of <a href="https://github.com/invertase/react-native-firebase-starter" rel="noreferrer">https://github.com/invertase/react-native-firebase-starter</a></p>
  
  <p>All of the Android steps work fine but I'm struggling to get the iOS pod install to work (step 1.4 <code>[iOS] cd ios and run pod install</code>)</p>
  
  <p>I've installed ruby and used gem to install cocoapods like:</p>
  
  <p><code>gem install cocoapods</code></p>
  
  <p>I accepted all the defaults and the installation was successful but now when I run any pod command I get an error.</p>
  
  <p>Running <code>pod --version</code> gives me:</p>
  
  <p><code>Traceback (most recent call last):
          4: from C:/Ruby25-x64/bin/pod:23:in `&lt;main&gt;'
          3: from C:/Ruby25-x64/bin/pod:23:in `load'
          2: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/bin/pod:55:in `&lt;top (required)&gt;'
          1: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:47:in `run'
  C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/claide-1.0.2/lib/claide/command.rb:439:in `help!': [!] You cannot run CocoaPods as root. (CLAide::Help)</code></p>
  
  <p>I'm running Windows 10 Pro</p>
  
  <p>There is a stack overflow answer here: <a href="https://stackoverflow.com/a/37451422/3368558">https://stackoverflow.com/a/37451422/3368558</a> which bypasses this by commenting out the check but I'm looking for a more correct approach which doesn't involve me messing with CocoaPods itself.</p>