strip comments from .rvmrc file before parsing version