ruby - problem building summarize gem -


I'm trying to use a brief gem in Ruby, but when I install gem summary , I get:

  Basic extension building may take some time ... Error: Error in compressing: Error: Failed to create gem country extension C: /dev/Ruby/bin/ruby.exe extconf.rb Makefile nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (C) Microsoft Corp 1988-94 All Rights Reserved. CL-Enologo-i-IC: /dev/Ruby/lib/ruby/1.8/i386-mswin32-cc: / dev / ruby ​​/ lib / rbi / 1.8 / i386-mswin 32-i-md-g-o-2 B2xg- -G6 -C -Tarticle CL: Command Line Alert D4029: Optimization is not available in the Standard Edition compiler: Command Line Alert D4002: Unknown option '-Og-' article.c Ignore the article. C (21): Fatal Error C1083: File can not contain: 'stdio.h': Any such file or directory NMAKE: Fatal error U1077: 'C: \ Windows \ system32 \ cmd.exe': Return code ' 0x2 'Stop It The gem file will be stored in C: /dev/ruby/lib/ruby/gems/1.8/gems/summarize- 1.0.3 for inspection. C: /dev/Ruby/lib/ruby/gems/1.8/gems/summarize-1.0.3/ext/summari ze / gem_make.out   

Login results for any ideas ??

Install MinGW You are using the Microsoft C ++ Compiler: A port of POSIX Toolset Which you will find in * nix (including GCC, GNU compiler).

If you use Ruby Installer to install Ruby, then it is recommended that you use a well-packaged version of Mingu:



Comments