title: How to read a file content at execution time? Chef reads at compile time
body: <p>Because I'm running into this <a href="http://tickets.opscode.com/browse/MIXLIB-11" rel="noreferrer">MIXLIB-11</a> error that I've reported to Mixlib team, I need to find a walkaround, an alternative to Mixlib::Shellout.</p>
  
  <p><strong>Briefly about the problem:</strong></p>
  
  <p><a href="http://comments.gmane.org/gmane.comp.sysutils.chef.user/1139" rel="noreferrer">Here</a> is a statement which says "*No surprise -- the read is happening at compile time, but the remote_file resource is actually <em>created</em> at execution time.**"</p>
  
  <p>Because of this feature, <code>Mixlib::Shellout.new("ls", :cwd =&gt; '/opt/cubrid/share/webmanager')</code> raises "<strong>No such file or directory</strong>" error even though that directory is created at execution time by a previous recipe included in this current recipe.</p>
  
  <p><strong>Is there a way to read a file/directory at execution time?</strong></p>