Remove unused gems.