Re: Gem install error

Bryan Crossland
2011-04-18T22:37:44Z

On Mon, Apr 18, 2011 at 2:42 PM, Pedro
<pogermano-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> Hi There,
>
> Im trying to install vagrant , but I got the error below. Probably it
> is an  environment issue, Im using MINGW32,  WIN XP.
> Does anybody know how to solve it?
> Thanks!
>
> Pedro
>
> $ gem install vagrant
> Building native extensions.  This could take a while...
> ERROR:  Error installing vagrant:
>       ERROR: Failed to build gem native extension.
>
> c:/Ruby187/bin/ruby.exe extconf.rb
> checking for re.h... no
> creating Makefile
>
> make
> make: *** No rule to make target `ruby.h'', needed by
`generator.o''.
> Stop.
>
>
> Gem files will remain installed in c:/Ruby187/lib/ruby/gems/1.8/gems/
> json-1.5.1
> for inspection.
> Results logged to c:/Ruby187/lib/ruby/gems/1.8/gems/json-1.5.1/ext/
> json/ext/gene
> rator/gem_make.out
>
>

I think MINGW32 is your problem. It looks like you are missing some C
compiler packages from MINGW32 that Vagrant needs to install.

B.

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at