fix detecting ruby directive in Gemfile, fix #2372
Merge branch 'master' of github.com:wayneeseguin/rvm