Fix avoid attempting to rebuild the index,and retries features

Remove gem deps warnings on build.