add rvm fix-permissions, closes #1784