rev-websocketのインストール
もう完璧。うりゃ。
>gem install rev-websocket C:\Users\yukinkster>gem install rev-websocket Building native extensions. This could take a while... ERROR: Error installing rev-websocket: ERROR: Failed to build gem native extension. C:/ruby-1.9.2-p0-x64/bin/ruby.exe extconf.rb checking for main() in c.lib... *** 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:/ruby-1.9.2-p0-x64/bin/ruby --with-iobuffer-dir --without-iobuffer-dir --with-iobuffer-include --without-iobuffer-include=${iobuffer-dir}/include --with-iobuffer-lib --without-iobuffer-lib=${iobuffer-dir}/lib --with-clib --without-clib C:/ruby-1.9.2-p0-x64/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': The complier failed to generate an executable file. (RuntimeError) You have to install development tools first. from C:/ruby-1.9.2-p0-x64/lib/ruby/1.9.1/mkmf.rb:435:in `try_link0' from C:/ruby-1.9.2-p0-x64/lib/ruby/1.9.1/mkmf.rb:440:in `try_link' from C:/ruby-1.9.2-p0-x64/lib/ruby/1.9.1/mkmf.rb:552:in `try_func' from C:/ruby-1.9.2-p0-x64/lib/ruby/1.9.1/mkmf.rb:748:in `block in have_l ibrary' from C:/ruby-1.9.2-p0-x64/lib/ruby/1.9.1/mkmf.rb:693:in `block in checki ng_for' from C:/ruby-1.9.2-p0-x64/lib/ruby/1.9.1/mkmf.rb:280:in `block (2 levels ) in postpone' from C:/ruby-1.9.2-p0-x64/lib/ruby/1.9.1/mkmf.rb:254:in `open' from C:/ruby-1.9.2-p0-x64/lib/ruby/1.9.1/mkmf.rb:280:in `block in postpo ne' from C:/ruby-1.9.2-p0-x64/lib/ruby/1.9.1/mkmf.rb:254:in `open' from C:/ruby-1.9.2-p0-x64/lib/ruby/1.9.1/mkmf.rb:276:in `postpone' from C:/ruby-1.9.2-p0-x64/lib/ruby/1.9.1/mkmf.rb:692:in `checking_for' from C:/ruby-1.9.2-p0-x64/lib/ruby/1.9.1/mkmf.rb:743:in `have_library' from extconf.rb:4:in `' Gem files will remain installed in C:/ruby-1.9.2-p0-x64/lib/ruby/gems/1.9.1/gems /iobuffer-1.0.0 for inspection. Results logged to C:/ruby-1.9.2-p0-x64/lib/ruby/gems/1.9.1/gems/iobuffer-1.0.0/e xt/gem_make.out
orz 試練は続く。
えっと、色々と調べたけど分からず。
http://redmine.ruby-lang.org/issues/1097
とか見ると、64bit版のrev-websocketがないから・・・か??
この辺も見たけど、今回の原因解決に至らず。
http://blog.emosei.com/archives/51813950.html
あぁもう時間切れ。
参考:
総天然色頁 http://d.hatena.ne.jp/kamataro/20090529/1243575867