ruby - Can't install json gem in Windows -


i tried install json gem on windows. installed devkit. following error below. suggestions? question

json gem not install (windows)

suggests installing devkit , try using json_pure. did both. problem bundle install trying install json , won't proceed until json installed. bundle install rails project btw.

d:\source\my_project>gem install json -v '1.6.3' temporarily enhancing path include devkit... building native extensions.  take while... error:  error installing json:         error: failed build gem native extension.      c:/ruby200/bin/ruby.exe extconf.rb creating makefile  make generating parser-i386-mingw32.def compiling parser.c in file included parser.rl:1:0: ../fbuffer/fbuffer.h:129:13: warning: 'fbuffer_append_long' defined not used [-wunused-function] ../fbuffer/fbuffer.h:136:17: warning: 'fbuffer_dup' defined not used [-wunused-function] ../fbuffer/fbuffer.h:149:14: warning: 'fbuffer_to_s' defined not used [-wunused-function] ../fbuffer/fbuffer.h:90:13: warning: 'fbuffer_append_str' defined not used [-wunused-function] linking shared-object json/ext/parser.so  make install /usr/bin/install -c -m 0755 parser.so c:/ruby200/lib/ruby/gems/2.0.0/gems/json-1.6.3/ext/json/ext/json/ext /usr/bin/install: cannot create regular file `c:/ruby200/lib/ruby/gems/2.0.0/gems/json-1.6.3/ext/json/ext/json/ext': no such file or directory make: *** [install-so] error 1   gem files remain installed in c:/ruby200/lib/ruby/gems/2.0.0/gems/json-1.6.3 inspection. results logged c:/ruby200/lib/ruby/gems/2.0.0/gems/json-1.6.3/ext/json/ext/parser/gem_make.out 

i had use version 1.7.7. not why seems compatible ruby version. do: gem install json -v '1.7.7'


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -