add support for new hook model in generated .rvmrc files, fix #1510