сначала спасибо за ваше время в просмотре/ответе на это. Вот шаги и ошибка, которые я получаю при попытке установить visualruby.Visualruby не удается установить
Я выполнил инструкцию к «t» от http://www.visualruby.net/site/Download.html.
Я даже толкал версию Руби обратно от последней сборки до 1.9.3, деинсталлировать и переустановить, перезапустить компьютер, UNINST - reinst GTK + и т.д.
Command Prompt
ruby 1.9.3p551 (2014-11-13) [i386-mingw32]
C:\Users\Chris>gem install visualruby
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing visualruby:
ERROR: Failed to build gem native extension.
C:/Ruby/Ruby193/bin/ruby.exe extconf.rb
checking for --enable-debug-build option... no
checking for -Wall option to compiler... yes
checking for -Waggregate-return option to compiler... yes
checking for -Wcast-align option to compiler... yes
checking for -Wextra option to compiler... yes
checking for -Wformat=2 option to compiler... yes
checking for -Winit-self option to compiler... yes
checking for -Wlarger-than-65500 option to compiler... yes
checking for -Wmissing-declarations option to compiler... yes
checking for -Wmissing-format-attribute option to compiler... yes
checking for -Wmissing-include-dirs option to compiler... yes
checking for -Wmissing-noreturn option to compiler... yes
checking for -Wmissing-prototypes option to compiler... yes
checking for -Wnested-externs option to compiler... yes
checking for -Wold-style-definition option to compiler... yes
checking for -Wpacked option to compiler... yes
checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler... yes
checking for -Wpointer-arith option to compiler... yes
checking for -Wswitch-default option to compiler... yes
checking for -Wswitch-enum option to compiler... yes
checking for -Wundef option to compiler... yes
checking for -Wout-of-line-declaration option to compiler... no
checking for -Wunsafe-loop-optimizations option to compiler... yes
checking for -Wwrite-strings option to compiler... yes
checking for rb_define_alloc_func() in ruby.h... yes
checking for rb_block_proc() in ruby.h... yes
checking for new allocation framework... yes
checking for attribute assignment... no
checking for cairo... yes
checking for rb_cairo.h... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/Ruby/Ruby193/bin/ruby
--enable-debug-build
--disable-debug-build
--with-pkg-config
--without-pkg-config
--with-override-variables
--without-override-variables
Gem files will remain installed in C:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/gtksourceview2-2.2.5 for inspection.
Results logged to C:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/gtksourceview2-2.2.5/ext/gtksourceview2/gem_make.out
Я думаю, что вы реальная проблема заключается эта часть сообщения об ошибке: Не удалось создать гем родное расширение. C: /Ruby/Ruby193/bin/ruby.exe extconf.rb. Возможно, попробуйте найти ответ на эту проблему - возможно, ответ на этот вопрос может помочь вам: http://stackoverflow.com/questions/3018166/failed-to-build-gem-native-extension-extconf-rb-not -found – tmadsen
Можете ли вы разместить свои 'mkmf.log' и' gem_make.out'? – Azolo
@ Азоло здесь [gem_make.out] (http://pastebin.com/Enj1jcEi), и вот [mkmf.log] (http://pastebin.com/syZVKQFt) - оба ссылки - PasteBin. – HeWhoHordesManyPillows