title: Process working correctly in foreground does not work on background
body: <p>I have a job, a Ruby script that I have created but using a lot of libraries so is complex to trace. 
  When I run it in a terminal like</p>
  
  <p>ruby ./my_process</p>
  
  <p>it works perfectly. 
  But when I launch it as</p>
  
  <p>ruby ./my_process &amp; </p>
  
  <p>it stays in stopped status and it doesnt work as expected. </p>
  
  <p>I have tried to use daemonize_spawn gem, Process.daemon or even to use fork inside the ruby code with similar results, the process does not work correctly. </p>
  
  <p>Any idea of what can be happening?</p>
  
  <p>I am using linux and ruby 1.9</p>