Hi Mo,
Thanks for the pointers, I'll definitely look at this and
ask for help on the Ruby SIG list. The issue here is that
Vagrant plugins are rubygems that get installed in the user's
~/.vagrant.d/ directory with all their dependencies (ie.
Vagrant won't reuse system-wide installed gems). I already
face the issue with vagrant-kvm with the dependency on
Nokogiri, which needs gcc to install. OTOH I'm trying to keep
Vagrant patching to a minimum. I think the best course of
action is:
- have Vagrant look for plugins system-wide first (in
/usr/share/gems) and then in ~/.vagrant.d
- still allow plugin install from rubygems.org ('vagrant
plugin install whatever') and ensure it works
- provide vagrant-kvm as a system-wide rubygem and ensure
it uses system-wide dependencies
- maybe provide some other Vagrant plugins as RPM (not
sure it's wise)
bundler_ext seems like it could help here, I'm going to
have a look at that.
Alex