Bug 231755 - sysutils/rubygem-vagrant-mutate: vagrant-mutate not visible in list of vagrant plugins
Summary: sysutils/rubygem-vagrant-mutate: vagrant-mutate not visible in list of vagran...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-ruby (Nobody)
Depends on:
Reported: 2018-09-27 08:27 UTC by Mateusz Kwiatkowski
Modified: 2018-12-09 06:31 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (ruby)


Note You need to log in before you can comment on or make changes to this bug.
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.