Project

General

Profile

Bug #11866

Updated by nobu (Nobuyoshi Nakada) about 9 years ago

`gem update` fails because it tries to update io-console, which cannot update (or install) itself. 

 Here's the full output: 

 
 ~~~ 
 λ gem install io-console 
 Temporarily enhancing PATH to include DevKit... 
 Building native extensions.    This could take a while... 
 ERROR:    Error installing io-console: 
         ERROR: Failed to build gem native extension. 

     current directory: C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/io-console-0.4.4 
 C:/Ruby22-x64/bin/ruby.exe -r ./siteconf20151223-1500-1scn961.rb extconf.rb 
 creating Makefile 

 To see why this extension failed to compile, please check the mkmf.log which can be found here: 

   C:/Ruby22-x64/lib/ruby/gems/2.2.0/extensions/x64-mingw32/2.2.0/io-console-0.4.4/mkmf.log 

 current directory: C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/io-console-0.4.4 
 make "DESTDIR=" clean 

 current directory: C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/io-console-0.4.4 
 make "DESTDIR=" 
 generating console-x64-mingw32.def 
 compiling console.c 
 console.c:710:24: fatal error: win32_vk.inc: No such file or directory 
 compilation terminated. 
 make: *** [console.o] Error 1 

 make failed, exit code 2 

 Gem files will remain installed in C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/io-console-0.4.4 for inspection. 
 Results logged to C:/Ruby22-x64/lib/ruby/gems/2.2.0/extensions/x64-mingw32/2.2.0/io-console-0.4.4/gem_make.out 
 ~~~ 

 The log file mentioned will be attached. 

 This is on Windows 10 x64, using the latest found RubyInstaller 2.2.3-x64. Gem is at version 2.5.1.

Back