Is it possible to require existing ruby gems (I’d like to use netaddr) to assist me in configuring vms in the Vagrantfile?
Gemfile:
gem “netaddr”
Vagrantfile:
require ‘rubygems’
require ‘bundler/setup’
require ‘netaddr’
❯ bundle install --path vendor/bundle
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies…
Using bundler 1.17.2
Fetching netaddr 2.0.4
Installing netaddr 2.0.4
Bundle complete! 1 Gemfile dependency, 2 gems now installed.
Bundled gems are installed into ./vendor/bundle
❯ vagrant up
Could not find netaddr-2.0.4 in any of the sources
Run bundle install
to install missing gems.