Cannot install eventmachine

i cannot install event machine. i get error. i tried all the options.

E:\Documents and Settings\Trade>gem install eventmachine
Select which gem to install for your platform (i386-mswin32)

  1. eventmachine 0.10.0 (ruby)
  2. eventmachine 0.9.0 (ruby)
  3. eventmachine 0.8.1 (i386-mswin32)
  4. eventmachine 0.8.1 (ruby)
  5. Skip this gem
  6. Cancel installation

1
Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

ruby extconf.rb install eventmachine
checking for windows.h… no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
–with-opt-dir
–without-opt-dir
–with-opt-include
–without-opt-include=${opt-dir}/include
–with-opt-lib
–without-opt-lib=${opt-dir}/lib
–with-make-prog
–srcdir=.
–curdir
–ruby=e:/ruby/bin/ruby

Gem files will remain installed in e:/ruby/lib/ruby/gems/1.8/gems/
eventmachine-0.10.0 for inspection.
Results logged to e:/ruby/lib/ruby/gems/1.8/gems/eventmachine-0.10.0/
ext/gem_make.out

From: “Junkone” [email protected]

  1. Cancel installation

1
Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

ruby extconf.rb install eventmachine
checking for windows.h… no
*** extconf.rb failed ***

What happens when you try #3 ?

Regards,

Bill

On 15 feb, 23:16, Junkone [email protected] wrote:

    --ruby=e:/ruby/bin/ruby

Gem files will remain installed in e:/ruby/lib/ruby/gems/1.8/gems/
eventmachine-0.10.0 for inspection.
Results logged to e:/ruby/lib/ruby/gems/1.8/gems/eventmachine-0.10.0/
ext/gem_make.out

You need a compiler to build native extensions. more precisely, you
need VC6 to build Ruby C extensions like eventmachine.

I’ll suggest you ask the gem maintainers for updates of version 0.10.

Regards,