Remove unused dependent gems.