Only restart rails applications