Added proper logging to the ruby app template