Set up the GEM_HOME variable