自分で頑張ってみようと思ったけどギブ。
教えてください。

・Win10 64bit Ruby2.3.1p112 Bundler1.13.1
gem rails installすると
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.

current directory: C:/Ruby23/lib/ruby/gems/2.3.0/gems/nio4r-1.2.1/ext/nio4r
C:/Ruby23/bin/ruby.exe -r ./siteconf20160927-10924-161qu8n.rb extconf.rb
checking for unistd.h... *** 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.
中略
extconf failed, exit code 1

と出てRailsをインスコできないので、対処法ご存じの方教えてください。
よろしくお願いします。