Install newer version of ruby gems 69/23769/1
authorVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Tue, 3 Dec 2019 20:01:45 +0000 (14:01 -0600)
committerVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Tue, 3 Dec 2019 20:01:45 +0000 (14:01 -0600)
Install newer version of ruby gems to resolve rake dependency for the
CentOS 7 image

Change-Id: I6cd230a2f008e5d9da34bce1dc4c82d35edf9592
Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
packer/provision/local-builder.yaml

index 915c841..1fb28aa 100644 (file)
       when: ansible_os_family == 'RedHat'
       become: true
 
+    - name: 'Install ruby gems'
+      command: 'gem install "rubygems-update:<3.0.0" --no-document'
+      become: 'true'
+
     - name: 'Install rake gem'
       command: 'gem install rake'
       become: true