We will need the ruby-bundler package to install the qa/browsertests repository
The following sequence seems to provide the desired effect:
sudo apt-get install ruby-bundler rubygems
git clone https://gerrit.wikimedia.org/r/qa/browsertests
cd browsertests
bundle install --path .
That needs to be done in the Jenkins jobs.
Version: wmf-deployment
Severity: normal