This is an automated email from the ASF dual-hosted git repository.

mitchell852 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new a7fca2d  Pin FFI gem version to 1.12.2 for Ruby 2.0 compatibility 
(#4749)
a7fca2d is described below

commit a7fca2dc22a4d3df18d08c56bd145f4c92b4eddd
Author: Zach Hoffman <[email protected]>
AuthorDate: Tue Jun 2 11:20:04 2020 -0600

    Pin FFI gem version to 1.12.2 for Ruby 2.0 compatibility (#4749)
---
 infrastructure/docker/build/Dockerfile-traffic_portal | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/infrastructure/docker/build/Dockerfile-traffic_portal 
b/infrastructure/docker/build/Dockerfile-traffic_portal
index 7186cdc..4049b4c 100644
--- a/infrastructure/docker/build/Dockerfile-traffic_portal
+++ b/infrastructure/docker/build/Dockerfile-traffic_portal
@@ -42,8 +42,11 @@ RUN  yum -y install \
                ruby-devel \
                rubygems
 
-RUN    gem install rb-inotify -v 0.9.10 && \
-       gem install compass && \
+RUN    gem install \
+               # FFI 1.13 cannot be installed with Ruby 2.0
+               ffi:1.12.2 \
+               rb-inotify:0.9.10 \
+               compass && \
        npm -g install bower grunt-cli
 
 # bower will not run as root by default

Reply via email to