#!/bin/sh

set -evx

gem update --system $(grep rubygems omnibus_overrides.rb | cut -d'"' -f2)
gem install bundler -v $(grep bundler omnibus_overrides.rb | cut -d'"' -f2)
bundle install

#!/bin/sh

set -evx

bundler_version=$(grep bundler omnibus_overrides.rb | cut -d'"' -f2)
gem install bundler -v $bundler_version
bundle _${bundler_version}_ install

Use desired bundler to bundle install
Use desired bundler to bundle install
