Fix RVM warning bug