to_s the rvm value before gsubbing
add a spec for the rvm value issue