add .rvmrc to gitignore
modify regex to remove looking for the beginning on the string