Remove duplication on gem and configuration