Removed the duplication code of GemFile