Fix required bundler version for ruby app

This commit is contained in:
Disassembler 2019-12-21 14:26:47 +01:00
parent 3713365950
commit e355510575
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
3 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,8 @@ RUN EOF
git clone --depth 1 https://github.com/CrisisCleanup/crisiscleanup /srv/crisiscleanup git clone --depth 1 https://github.com/CrisisCleanup/crisiscleanup /srv/crisiscleanup
# Hackfix ruby dependency versions # Hackfix ruby dependency versions
sed -i 's/2\.4\.4/2.4.5/' /srv/crisiscleanup/Gemfile sed -i 's/ruby "2\.4\.4"/ruby "2.4.5"/' /srv/crisiscleanup/Gemfile
gem install bundler:1.16.6
# Install Ruby and NodeJS dependencies # Install Ruby and NodeJS dependencies
cd /srv/crisiscleanup cd /srv/crisiscleanup

View File

@ -49,6 +49,7 @@ RUN EOF
rm -f /etc/nginx/*.default rm -f /etc/nginx/*.default
# Install Decidim # Install Decidim
gem install bundler:1.17.3
bundle config build.nokogiri --use-system-libraries bundle config build.nokogiri --use-system-libraries
gem install decidim gem install decidim
cd /srv cd /srv

View File

@ -13,6 +13,7 @@ RUN EOF
# Install Ruby dependencies # Install Ruby dependencies
cd /srv/opendatakit-build cd /srv/opendatakit-build
gem install bundler:1.13.6
bundle install --without test bundle install --without test
rake deploy:build rake deploy:build