I have two systems that use the same command line interface written in ruby. One system is using an older version that's incompatible with the scripts we have written. We'd like to use bundler to download all the dependencies for the
tar -czf cli2.0.tar.gz ./Gemfile ./Gemfile.lock ./.bundle ./bundle
tar -zxf cli2.0.tar.gz
bundle exec cli2.0 version
Received some help from a coworker, the gist is I was doing it all wrong.
If you want to transport
gems and see consistent performance with
bundler do this.
bundle install <gem>
tar -czf ./transport.tar.gz ./Gemfile ./Gemfile.lock ./vendor
On the next machine:
tar -xzf ./transport.tar.gz
bundle exec <command>