strip comments from .rvmrc file before parsing version

My .rvmrc files frequently contain comments which leads to incorrect gemset names.

This commit fixes the problem for me.