[YMZG-2][Qingsong]change some config files to make it work well with new rails