fixed gem path issues