fix loading rvm rubies with rvm-shell, fix #2186