Maher4Ever / wdm

Windows Directory Monitor (WDM) is a threaded directories monitor for Windows.
https://rubygems.org/gems/wdm
MIT License
50 stars 14 forks source link

Cmd return erro when i try to install wdm #11

Open andrevandal opened 11 years ago

andrevandal commented 11 years ago

Hello, I'm using compass and it need wdm but when I try to install you plugin, cmd return this error:

C:\Users\André>gem install wdm
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing wdm:
        ERROR: Failed to build gem native extension.

    C:/Ruby200-x64/bin/ruby.exe extconf.rb
checking for main() in -lkernel32... yes
checking for windows.h... yes
checking for ruby.h... yes
checking for HAVE_RUBY_ENCODING_H... yes
creating Makefile

C:\GnuWin32\bin\make.exe
generating wdm_ext-x64-mingw32.def
make: *** No rule to make target `/C/Ruby200-x64/include/ruby-2.0.0/ruby.h', nee
ded by `entry.o'.  Stop.

Gem files will remain installed in C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/wdm-0
.1.0 for inspection.
Results logged to C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/wdm-0.1.0/ext/wdm/gem_
make.out"

Could you help me? Thanks.

Elufimov commented 11 years ago

You can use x32 ruby.

C:\>gem install wdm
Fetching: wdm-0.1.0.gem (100%)
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
Successfully installed wdm-0.1.0
Parsing documentation for wdm-0.1.0
unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/wdm_ext.so, skipping
Installing ri documentation for wdm-0.1.0
1 gem installed

C:\Program Files\ConEmu>ruby -v
ruby 2.0.0p0 (2013-02-24) [i386-mingw32]