detect rails 4 manifest file