title: How to correctly set PATH in gvim?
body: <p>When I run vim from terminal PATH is the same as my terminal. But when I run gvim PATH is not reading properly.</p>
  
  <p>Currently I'm using this fix to launch gvim, but it feel dirty:</p>
  
  <pre><code>bash -lc gvim
  </code></pre>
  
  <p>I tried adding the path to vimrc with:</p>
  
  <blockquote>
    <p>let
    PATH='/home/user/.rvm/gems/ruby-2.1.0/bin:/home/user/.rvm/gems/ruby-2.1.0@global/bin:/home/user/.rvm/rubies/ruby-2.1.0/bin:/opt/project-neon/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/user/.cabal/bin:/home/user/.rvm/bin'</p>
  </blockquote>
  
  <p>But it didn't work like I expected.</p>
  
  <p>This doesn't work either:</p>
  
  <pre><code>set shell=bash\ --login
  </code></pre>
  
  <p>How can I make this work nicely in my vimrc?</p>
  
  <p>I'm using Ubuntu.</p>