Specify bundler version

Before, the Dockerfile was installing the latest bundler version, which is only compatible with Ruby >= 2.3.0. I've changed the bundler version to 1.17.3, which requires Ruby >= 1.8.7. Version info here: https://rubygems.org/gems/bundler/versions/1.17.3
This commit is contained in:
Bernardo Loureiro 2019-01-03 14:39:42 -02:00 committed by GitHub
parent 5af3fe24e1
commit 57ab2e00ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,7 +187,7 @@ RUN git clone --recursive git://github.com/CartoDB/cartodb.git && \
rm -r /tmp/npm-* /root/.npm && \
perl -pi -e 's/gdal==1\.10\.0/gdal==2.2.2/' python_requirements.txt && \
pip install --no-binary :all: -r python_requirements.txt && \
gem install bundler bundle compass archive-tar-minitar rack && \
gem install bundler --version=1.17.3 && gem install compass archive-tar-minitar rack && \
bundle update thin && \
/bin/bash -l -c 'bundle install' && \
cp config/grunt_development.json ./config/grunt_true.json && \