Install bundler gem in all build containers.
authorTom Clegg <tom@curoverse.com>
Sat, 20 Feb 2016 08:39:03 +0000 (03:39 -0500)
committerTom Clegg <tom@curoverse.com>
Sat, 20 Feb 2016 09:38:18 +0000 (04:38 -0500)
commit65a3779e6968835bc0b1fc1b103a408fd4eec4aa
tree898ac41ac667809fa84c561b50f89a4b8a7feb72
parent726ff8da135916c0cd6e3e0e4c9614a91d3ccfca
Install bundler gem in all build containers.

RVM used to install bundler by default, but now it doesn't.

https://github.com/rvm/rvm/commit/dc07790042d78c525d7d52616c78cb2d55c0e764

I suppose some systems (like Jenkins) have been able to continue
working because they have cached docker images that were built before
RVM dropped bundler (1.26.11 -- Mar 30, 2015).

But on a new system, we ended up here:

[...]
Package python3-websocket-client_0.35.0-1_all.deb exists, not rebuilding
/jenkins/run-library.sh: line 139: bundle: command not found
ERROR: arvados-api-server package prep failed
/jenkins/run-build-packages.sh: line 492: bundle: command not found
ERROR: Asset precompilation failed
ERROR:  build failed with exit status 1.

No issue #
jenkins/package-build-dockerfiles/centos6/Dockerfile
jenkins/package-build-dockerfiles/debian7/Dockerfile
jenkins/package-build-dockerfiles/debian8/Dockerfile
jenkins/package-build-dockerfiles/ubuntu1204/Dockerfile
jenkins/package-build-dockerfiles/ubuntu1404/Dockerfile