/ / json रत्न विंडोज पर स्थापित नहीं होगा - रूबी-ऑन-रेल्स -3, json, रत्न

json मणि Windows पर स्थापित नहीं होगा-रूबी-पर रेल-3, json, मणि

यहाँ त्रुटि मुझे मिलती रहती है। मैंने DevKit स्थापित किया और सभी निर्देशों का पालन किया।

gem install json -v "1.6.3"
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing json:
ERROR: Failed to build gem native extension.

"C:/Program Files/Ruby/Ruby192/bin/ruby.exe" extconf.rb
creating Makefile

make
Makefile:160: warning: overriding commands for target `C:/Program"
Makefile:153: warning: ignoring old commands for target `C:/Program"
C:/Program Files/Ruby/Ruby192/bin/ruby -e "puts "EXPORTS", "Init_parser""  > par
ser-i386-mingw32.def
/bin/sh: C:/Program: No such file or directory
make: *** [parser-i386-mingw32.def] Error 127


Gem files will remain installed in C:/Program Files/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/json-1.6.3 for inspection.
Results logged to C:/Program Files/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/json-1.6.3/ext/json/ext/parser/gem_make.out

क्या किसी के पास इसका कोई समाधान है?

उत्तर:

उत्तर № 1 के लिए 10

बस इसी में भाग गया। के जरिए विंडोज पर डीएम-प्रकार स्थापित करना। (विन 7 x64): यह तय है:


यह लगता है कि माणिक के लिए मार्ग में रिक्त स्थान मेकफाइल को खराब कर रहे हैं। शायद अस्थायी रूप से विंडोज पर एक सिमलिंक बनाने की कोशिश करें, जैसे:

mklink /d c:ruby "C:Program Files (x86)RubyRuby193"

और फिर c: rubybinruby.exe के साथ इंस्टॉल करने का प्रयास करें। इंस्टाल करने के बाद आप सिमिंक को हटा सकते हैं।