fixed the rails.log permission issue