removes useless gem dependencies