The secret_token file is no longer generated as per rails 4.1, and is throwing an error when being Gsub’d.