add rhtml mode for rails