Error when installing gem
Hello, I'm trying to install gem on windows 8, with rails configured. When trying to install via bundler, I'm getting the following error: $ gem install summarize Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing summarize: ERROR: Failed to build gem native extension.
c:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
creating Makefile
make generating summarize-i386-mingw32.def compiling article.c In file included from article.c:25:0: libots.h:24:18: fatal error: glib.h: No such file or directory compilation terminated. make: *** [article.o] Error 1
Gem files will remain installed in c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/summarize-1.0.3 for inspection. Results logged to c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/summarize-1.0.3/ext/summarize/gem_make.out
Any suggestions?
Thank you, Sid
I do have Dev Kit installed, if that helps.
you need to install the glib c library.
if you have homebrew, all you need to do is this:
brew install glib
I'm actually on Windows. Would I need Dev or Compiled version of glib? I tried with Dev and put the path in windows Environment Variables. Doesn't seems to take it.
Thank you,