fix bash errors on rvm install
Merge pull request #1063 from hamiltont/hotfix-rvm

Toolset: Fix rvm install errors