Adjust gem dependencies according to warnings