rubygems - Capybara Webkit installation -
hey first project in ruby , trying install capybara using the instructions here: https://github.com/thoughtbot/capybara-webkit/wiki/installing-qt-and-compiling-capybara-webkit
i keep running error constantly. appreciated.
windows 10 ruby 2.3 qt 5.9.1 path has c:\qt\5.9.1\msvc2015_64\bin , c:\ruby23\bin current directory: c:/ruby23/lib/ruby/gems/2.3.0/gems/capybara-webkit-1.14.0 c:/ruby23/bin/ruby.exe -r ./siteconf20170817-33208-1eyrgjv.rb extconf.rb *** extconf.rb failed *** not create makefile due reason, lack of necessary libraries and/or headers. check mkmf.log file more details. 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:/ruby23/bin/$(ruby_base_name) --with-gl-dir --without-gl-dir --with-gl-include --without-gl-include=${gl-dir}/include --with-gl-lib --without-gl-lib=${gl-dir}/lib --with-zlib-dir --without-zlib-dir --with-zlib-include --without-zlib-include=${zlib-dir}/include --with-zlib-lib --without-zlib-lib=${zlib-dir}/lib command 'qmake ' not available extconf failed, exit code 1
qt 5.9.1 doesn't include needed qtwebkit default, you'd need install that. in mkmf.log
error message instructs , see missing.
that being said, capybara-webkit based on tech equivalent to, @ best, 7 year old browser, , therefore doesn't support lot of stuff used in modern apps. lot better off if don't use capybara-webkit , instead use capybara selenium , headless chrome.
clarification note: capybara-webkit not capybara, it's driver can used capybara.
Comments
Post a Comment