Bug 231755

Summary: sysutils/rubygem-vagrant-mutate: vagrant-mutate not visible in list of vagrant plugins
Product: Ports & Packages Reporter: Mateusz Kwiatkowski <kwiat3k>
Component: Individual Port(s)Assignee: freebsd-ruby (Nobody) <ruby>
Status: New ---    
Severity: Affects Only Me CC: kwiat3k, swills
Priority: --- Flags: bugzilla: maintainer-feedback? (ruby)
Version: Latest   
Hardware: amd64   
OS: Any   

Description Mateusz Kwiatkowski 2018-09-27 08:27:52 UTC
After installing vagrant and rubygem-vagrant-mutate with pkg(8) vagrant-mutate plugin is not available:

root@freebsd # vagrant plugin list
No plugins installed.
root@freebsd # pkg info | grep vagrant
rubygem-vagrant-mutate-1.2.0_1 Convert vagrant boxes to work with different providers
vagrant-2.1.5                  Vagrant Virtual Machine Manager
root@freebsd # ruby --version
ruby 2.4.4p296 (2018-03-28 revision 63013) [amd64-freebsd12]
root@freebsd # uname -a
FreeBSD freebsd 12.0-ALPHA4 FreeBSD 12.0-ALPHA4 #0 r338410: Fri Aug 31 18:21:46 UTC 2018     root@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64
Comment 1 Mateusz Kwiatkowski 2018-09-27 08:45:53 UTC
It's the same after installing vagrant and vagrant-plugin-mutate from ports.
Comment 2 Mateusz Kwiatkowski 2018-09-27 08:47:34 UTC
vagrant-bhyve isn't visible either.
Comment 3 Steve Wills freebsd_committer 2018-12-09 06:31:03 UTC
I don't think it's possible to fix this without patching vagrant, since it doesn't read the list of gems installed in the system. It only reads ${HOME}/.vagrant.d/plugins.json. The only thing you can do is edit that file after installing the packages.