Fix Rails integration to support :stdout type