The GEM_HOME was not being read correctly in the environment