change the path with rails header

Signed-off-by: Hake Huang <hakehuang@gmail.com>