ok, I am checking he past emails in the mailing list.

Fixes were in this order.

1. sudo  /usr/bin/gcc

This failed for some people and they had to accept the xcode cli license

2. sudo true && vagrant plugin install vagrant-proxy

or

sudo vagrant plugin install vagrant-proxy

Seems in some plugins require sudo impersonation to access /Applications

here was an issue when someone had vagrant variable to a different path
than the default.
VAGRANT_HOME
Does the 2nd works? I understand you tried 1 already..

On Fri, Oct 17, 2014 at 12:08 PM, Russ Tremain <[email protected]>
wrote:

>  At 11:14 AM +1300 10/17/14, Alvaro Miranda Aguilera wrote:
>
> On Fri, Oct 17, 2014 at 9:05 AM, Russ Tremain <[email protected]>
> wrote:
>
> em install ffi -v '1.9.6
>
>
> Hi Alvaro,
>
> I assume you meant "gem" not "em"?
>
> As I mentioned, I only have problems installing gems using
> /Applications/Vagrant/embedded/bin/ruby - works fine with the mac ports
> version in /opt/local/bin/ruby
>
>
> check if you can run gcc
>
>
> {vagrantfun.11} gcc --version
> i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
> 5658) (LLVM build 2336.1.00)
>
> other users with similar error had issues with XCODE license after some
> upgrade
>
>
> you need to have the command line installed AND accept the license.
>
>
> makes sense, but not the problem in this case.
>
> thanks,
> -Russ
>
> Date: Thu, 16 Oct 2014 13:05:44 -0700
>
> To: [email protected]
> From: Russ Tremain <[email protected]>
>
> Subject: [vagrant-up] cannot install vagrant plugins on mac osx 10.6.8
>
>
> Hi,
>
> I'm stuck on snow leopard for various reasons, and was successful in
> installing vagrant 1.6.5.  However, when I attempt to install the
> vagrant-vsphere plugin, I get the following error:
>
>
> % vagrant plugin install vagrant-vsphere
> ...
>
> An error occurred while installing ffi (1.9.6), and Bundler cannot
> continue.
> Make sure that `gem install ffi -v '1.9.6'` succeeds before bundling.
>
> Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
> extension.
>
>     /Applications/Vagrant/embedded/bin/ruby extconf.rb
> /Applications/Vagrant/embedded/lib/ruby/2.0.0/mkmf.rb:292:in
> `initialize_copy': Bad file descriptor (Errno::EBADF)
>        from /Applications/Vagrant/embedded/lib/ruby/2.0.0/mkmf.rb:292:in
> `initialize_dup'
>       from /Applications/Vagrant/embedded/lib/ruby/2.0.0/mkmf.rb:292:in
> `dup'
>  from /Applications/Vagrant/embedded/lib/ruby/2.0.0/mkmf.rb:292:in
> `<module:Logging>'
>     from /Applications/Vagrant/embedded/lib/ruby/2.0.0/mkmf.rb:289:in
> `<module:MakeMakefile>'
>        from /Applications/Vagrant/embedded/lib/ruby/2.0.0/mkmf.rb:47:in
> `<top (required)>'
>      from
> /Applications/Vagrant/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in
> `require'
>   from
> /Applications/Vagrant/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in
> `require'
>   from extconf.rb:4:in `<main>'
> ...
>
> I get the same error when I try to install vagrant-libvert.
>
> I found a reference to this issue [1], which suggests that it is not
> fixable due to lack of resources, and the bug was closed.
>
> Using the mac ports install for ruby21 (ruby 2.1.3p242 (2014-09-19
> revision 47630) [x86_64-darwin10]), I don't have any problem installing
> native gems.
>
> However, it appears to be difficult if not impossible to force vagrant to
> use a non-embedded version of Ruby.
>
> I have seen another post [2] that suggest that this is a problem with
> binary rubies, and the suggested work-around is to use something called rvm
> to brew up another version of ruby, i.e.,
>
>         rvm reinstall 2.1.0 --disable-binary
>
> But again, this would be hampered by the inability to use my system ruby
> over the embedded ruby that now ships with vagrant.
>
> Another idea would be to build vagrant locally, and try the
> '--disable-binary" flag, or even hack the pakage install contents to
> substitute a different version of ruby.  How hard would that be?
>
> Thanks for any suggestions.  I would be happy to provide a workable
> snow-leopard install to others if I can get it to work.
>
> -Russ
>
> References:
> [1] https://github.com/mitchellh/vagrant/issues/2770
>
> [2] https://github.com/wayneeseguin/rvm/issues/2511#issuecomment-31536263
>
>

-- 
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