tmatilai / vagrant-proxyconf

Vagrant plugin that configures the virtual machine to use proxies
MIT License
531 stars 74 forks source link

ffi conflicting dependency with ruby 3.2.4 + vagrant 2.4.1 #244

Open je-vv opened 1 month ago

je-vv commented 1 month ago

On Artix (Arch) up to date with ruby 3.2.4 and vagrant 2.4.1:

% vagrant plugin install vagrant-proxyconf
Installing the 'vagrant-proxyconf' plugin. This can take a few minutes...
Vagrant failed to properly resolve required dependencies. These
errors can commonly be caused by misconfigured plugin installations
or transient network issues. The reported error is:

conflicting dependencies ffi (= 1.17.0) and ffi (= 1.16.3)
  Activated ffi-1.16.3
  which does not match conflicting dependency (= 1.17.0)

  Conflicting dependency chains:
    ffi (= 1.16.3), 1.16.3 activated

  versus:
    ffi (= 1.17.0)

  Gems matching ffi (= 1.17.0):
    ffi-1.17.0-x86_64-linux-gnu

It so happens that actually vagrant 2.4.1 comes with ffi 1.17.0:

% ls -d /opt/vagrant/embedded/gems/gems/*ffi*
/opt/vagrant/embedded/gems/gems/ffi-1.17.0-x86_64-linux-gnu/

Which is highlighted by the error, but vagrant-proxyconf is requiring directly or indirectly ffi 1.16.3.

Can this be addressed? Also what could be a good workaround?