Require existing ruby gems in Vagrantfile

Is it possible to require existing ruby gems (I’d like to use netaddr) to assist me in configuring vms in the Vagrantfile?

gem “netaddr”

require ‘rubygems’
require ‘bundler/setup’
require ‘netaddr’

❯ bundle install --path vendor/bundle
Fetching gem metadata from
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.