moving the stdout sync to the first line in the file, since I'm not getting output in jenkins and I think it may be the starting of rails.