title: Using environment variables in a file path
body: <p>I want to use an input <code>path</code> in the following code:</p>
  
  <pre><code>File.exists?(File.expand_path(path))
  </code></pre>
  
  <p>Can I use environment variables in <code>path</code>, and what should the syntax be?</p>