fix detecting if osx homebrew is writable by user, update #1555
Merge branch 'master' of github.com:wayneeseguin/rvm