title: Cocoapods user-install: cannot run pod command
body: <p>I have installed Cocoapods on OS X Mavericks using the <code>--user-install</code> option (to avoid having to use <code>sudo</code> for the installation) following the instructions at <a href="http://guides.cocoapods.org/using/getting-started.html#getting-started" rel="nofollow">http://guides.cocoapods.org/using/getting-started.html#getting-started</a> . I have also created a <code>.profile</code> file in my home directory with the following:</p>
  
  <pre><code>export GEM_HOME=$HOME/gems
  export PATH=$GEM_HOME/bin:$PATH
  </code></pre>
  
  <p>Cocoapods successfully installs, but I am unable to run the <code>pod</code> command.</p>
  
  <p>When running it from the command line it says <code>No such file or directory</code>. From what I understand, it should be installed into the <code>/Users/me/gems/bin</code> folder. However, this folder does not exist at all - the only Ruby related folder in my home directory is <code>/Users/me/.gem</code>.</p>
  
  <p>I have tried running <code>/Users/me/.gem/ruby/2.0.0/gems/cocoapods-0.29.0/bin/pod</code> but that results in the following error:</p>
  
  <pre><code>/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- bundler/setup (LoadError)
      from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
      from .gem/ruby/2.0.0/gems/cocoapods-0.29.0/bin/pod:14:in `&lt;main&gt;'
  </code></pre>
  
  <p>...but from what I understand, I shouldn't be running it from that location directly.</p>
  
  <p>Any assistance for a Cocoapods newbie appreciated!</p>