Closed stevekuznetsov closed 7 years ago
Hi Steve,
I'm excited you're working with vagrant-mutate! I have one question about this: why did you add a step that installs the ffi gem on the system? Vagrant maintains its own set of rubygems that are isolated from the system's gems (iirc this switch happened when vagrant started bundling dependencies several years ago). Installing the ffi gem like you're recommending shouldn't affect your ability to install vagrant-mutate, unless you're using some non-standard method of installing vagrant.
You know, that's a good question -- I think the automatic installation of the FFI gem was failing due to the RPM dependency being missing, so the steps to fix that were the install the RPM, then the gem, then do the plugin install. As you say, the explicit gem installation should not be necessary. I'll update the PR.
In my case I'm using Fedora 25 and I ran into the same issues as described in https://developer.fedoraproject.org/tech/languages/ruby/gems-installation.html, which I only solved the installation issue by running sudo dnf install redhat-rpm-config
. I opened #100 for it
@sciurus is something else necessary for this PR? Looks like it is helpful for users installing on RHEL/CentOS/Fedora.
Thanks for the reminder! Merged.
In order to successfully install this plugin on a Red Hat Linux distribution, one must install the
redhat-rpm-config
package in order to be able to successfully install the FFI gem, which is a requirement for the plugin.Signed-off-by: Steve Kuznetsov skuznets@redhat.com