Made gem path management dynamic