title: How do I get wget output in ruby?
body: <p>I need to run the following code from ruby:</p>
  
  <pre><code>system "wget http://example.org/some/large/archive.zip"
  </code></pre>
  
  <p>When I run this command I see</p>
  
  <blockquote>
    <p>Redirecting output to ‘wget-log’.</p>
  </blockquote>
  
  <p>I need to do <code>tail -f wget-log</code> to see the progress</p>
  
  <p>How can I see wget output in terminal where I run the ruby process?</p>
  
  <p>I've tried </p>
  
  <pre><code>system "wget -O - http://example.org/some/large/archive.zip &gt; dev/null"
  </code></pre>
  
  <p>but it didn't help</p>
  
  <p>Maybe there are other options to download large archives with ruby and see the progress?</p>