調子乗ってrailsっての入れちゃうぞー。 gem install railsってのでええんやろ?!→駄目でした
>gem install rails Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing rails: ERROR: Failed to build gem native extension. current directory: C:/_MyProgram/Ruby23-x64/lib/ruby/gems/2.3.0/gems/nokogiri-1.6.7.1/ext/nokogiri C:/_MyProgram/Ruby23-x64/bin/ruby.exe -r ./siteconf20160110-22920-13vsfxl.rb extconf.rb checking if the C compiler accepts ... *** 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 --srcdir=. --curdir --ruby=C:/_MyProgram/Ruby23-x64/bin/ruby --help --clean C:/_MyProgram/Ruby23-x64/lib/ruby/2.3.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first. from C:/_MyProgram/Ruby23-x64/lib/ruby/2.3.0/mkmf.rb:571:in `block in try_compile' from C:/_MyProgram/Ruby23-x64/lib/ruby/2.3.0/mkmf.rb:522:in `with_werror' from C:/_MyProgram/Ruby23-x64/lib/ruby/2.3.0/mkmf.rb:571:in `try_compile' from extconf.rb:80:in `nokogiri_try_compile' from extconf.rb:87:in `block in add_cflags' from C:/_MyProgram/Ruby23-x64/lib/ruby/2.3.0/mkmf.rb:629:in `with_cflags' from extconf.rb:86:in `add_cflags' from extconf.rb:336:in `<main>' To see why this extension failed to compile, please check the mkmf.log which can be found here: C:/_MyProgram/Ruby23-x64/lib/ruby/gems/2.3.0/extensions/x64-mswin64-100/2.3.0/nokogiri-1.6.7.1/mkmf.log extconf failed, exit code 1 Gem files will remain installed in C:/_MyProgram/Ruby23-x64/lib/ruby/gems/2.3.0/gems/nokogiri-1.6.7.1 for inspection. Results logged to C:/_MyProgram/Ruby23-x64/lib/ruby/gems/2.3.0/extensions/x64-mswin64-100/2.3.0/nokogiri-1.6.7.1/gem_make.out
最初はvirtualBox入れてlinux上でやるべきなのかな
r888888888/danbooruってソフトを使ってみたかったんだがな。レポジトリでも落としておくか>danbooru-master.zip