SmartOS: explicitly set path for `which` under SmartOS
Merge pull request #2165 from mattconnolly/master

SmartOS: explicitly set path for `which` under SmartOS
quote and silence path operations for detecting rvm_path, fix #2156
Merge branch 'master' of github.com:wayneeseguin/rvm