Sed short ruby version & use gem env gempath when GEM_PATH is unset