title: "You don't have [ ] in your PATH," but is in [echo $PATH] (Linux)
body: <p>I am trying to install the github-pages ruby gem on Linux Mint for use with jekyll.</p>
  
  <p>After running <code>sudo gem install github-pages</code> I get:</p>
  
  <blockquote>
    <p>WARNING:  You don't have /home/max/.gem/ruby/2.3.0/bin in your PATH,<br>
    gem executables will not run. Building native extensions.  This could
    take a while... 
    ERROR:  Error installing github-pages:    ERROR: Failed
    to build gem native extension.</p>
  </blockquote>
  
  <p>The curious thing is that my path, as printed by <code>echo $PATH</code> and by <code>sudo echo $PATH</code> both include </p>
  
  <blockquote>
    <p>/home/max/.gem/ruby/2.3.0/bin</p>
  </blockquote>
  
  <p>So how do I end up with that warning that it is not in my PATH?</p>