Fix RVM initialization issue