Improve GEM_HOME and GEM_PATH to be independent of ruby dir