add check for which in installer, add rvm_error mock, fix #2121
Merge branch 'master' of github.com:wayneeseguin/rvm
1.22.0
Merge branch 'release/1.22.0'
Merge remote-tracking branch 'upstream/master'