在Windows中安装Beef时安装SQlite时出错

时间:2016-08-14 04:44:39

标签: ruby-on-rails sqlite

我正按照此处给出的说明尝试在Windows 10 PC中安装BEEF: https://github.com/beefproject/beef/wiki/Installation

我在执行$ seq 1 10 | awk '/3/{f=1} f{print} /7/{f=0}' 3 4 5 6 7 $ seq 1 10 | awk 'f{print} /3/{f=1} /7/{f=0}' 4 5 6 7 $ seq 1 10 | awk '/3/{f=1} /7/{f=0} f{print}' 3 4 5 6 $ seq 1 10 | awk '/7/{f=0} f{print} /3/{f=1}' 4 5 6 时陷入了最后一步。 我一直在收到这个错误:

bundle install

我尝试了通过搜索网络获得的所有变通方法,例如从源代码编译头文件并运行Installing do_sqlite3 0.10.17 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension. E:/Ruby22-x64/bin/ruby.exe -r ./siteconf20160814-9372-uyjql9.rb extconf.rb checking for sqlite3.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=E:/Ruby22-x64/bin/$(RUBY_BASE_NAME) --with-sqlite3-dir --without-sqlite3-dir --with-sqlite3-include --without-sqlite3-include=${sqlite3-dir}/include --with-sqlite3-lib --without-sqlite3-lib=${sqlite3-dir}/lib extconf failed, exit code 1 Gem files will remain installed in E:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/do_sqlite3-0.10.17 for inspection. Results logged to E:/Ruby22-x64/lib/ruby/gems/2.2.0/extensions/x64-mingw32/2.2.0/do_sqlite3-0.10.17/gem_make.out Using dm-do-adapter 1.2.0 Using dm-migrations 1.2.0 Using dm-serializer 1.2.2 Using qr4r 0.4.1 Using sinatra 1.4.7 Using rubydns 0.7.3 An error occurred while installing do_sqlite3 (0.10.17), and Bundler cannot continue. Make sure that `gem install do_sqlite3 -v '0.10.17'` succeeds before bundling. 。但它们都不起作用。

0 个答案:

没有答案