title: Ruby ENOENT error for curl statement
body: <p>Getting "No such file or directory (errno::ENOENT) error" for following statement 
  result = %x[curl -k -w "%{http_code}" -m 3 -sL #{url} -o /dev/null]</p>
  
  <p>What I understand that above statement should return the response code and which is not working here.
  I don't have much knowledge on Ruby and Rails and encountered above during setting up my testing environment for cucumber.</p>
  
  <p>Will some please help.</p>