add test for cd .rvmrc GEM_HOME warning, fix #2050