fix loading rvm in installer, fix #2447, update #2444