*Sorry, hit the wrong key and it posted before I had finished composing. 
 Here it is in full:*

I noticed that the error seemed to be from duplicating file descriptors for 
logging.  I removed the dup calls 
on /Applications/Vagrant/embedded/lib/ruby/2.0.0/mkmf.rb lines 292 and 293:

    @orgerr = $stderr.dup
    @orgout = $stdout.dup

... which becomes:

    @orgerr = $stderr
    @orgout = $stdout

... I had to fix up permissions (WARNING: some steps may be a result of my 
blind stumbling through this that are not part of this recipe -- YMMV). 
 Then I installed the FFI gem:

    % chown -R me:me /Applications/Vagrant/
    % /Applications/Vagrant/embedded/bin/gem install ffi
    ...

I had to symlink it (and some other gems) over to the main embedded gems 
directory:

    % cd /Applications/Vagrant/embedded/gems/gems/
    % ln -s ../../lib/ruby/gems/2.0.0/gems/* .

... and then I could install the vagrant plugins:

    % vagrant plugin install vagrant-vcenter
    Installing the 'vagrant-vcenter' plugin. This can take a few minutes...
    Installed the plugin 'vagrant-vcenter (0.3.2)'!

    % vagrant plugin install vagrant-vsphere
    Installing the 'vagrant-vsphere' plugin. This can take a few minutes...
    Installed the plugin 'vagrant-vsphere (0.16.0)'!

As a precaution, I then put the .dup calls back in and a repeated plugin 
install still seemed to work:

    % vagrant plugin install vagrant-vsphere
    Installing the 'vagrant-vsphere' plugin. This can take a few minutes...
    Installed the plugin 'vagrant-vsphere (0.16.0)'!

Hope this helps!

-----------
regards,
Andy

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to