Check that GEM_HOME is realpath
Merge pull request #2904 from gazay/master

Check that GEM_HOME include '/' and doesn't ends with it to prevent exception in split