Fix RVM problems