Ruby.h no such file or directory parser.o Error -
using rails 3.1 , new app, when go run bundle install
got following errors
installing json<1.7.3> native extensions error: failed build gem native extension. creating makefile generating parser-i386-mingw32.def compiling parser.c in file included parser.rl:1:0:../fbuffer/fbuffer.h:6:18: fatal error: ruby.h: no such file or directory compilation terminated. make: *** [parser.o] error 1
i have installed devkit , change $path
below:
c:\users\peter\downloads\make-3.81-bin\bin; c:\users\peter\working\ruby-devkit\mingw\bin; c:\users\peter\working\ruby-devkit; c:\program files\imagemagick-6.7.8-q16; c:\ruby193\bin;c:\ruby\bin;
you need install ruby development kit because windows looking source code ruby based on error missing ruby.h
Comments
Post a Comment