Fixes some tricky RVM path issues