added gem_home variable