Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Fetching gem metadata from https://rubygems.org/...........
- Resolving dependencies......
- Using rake 13.0.6
- Using racc 1.6.0
- Using digest 3.1.0
- Using concurrent-ruby 1.1.10
- Using bundler 2.3.7
- Using minitest 5.15.0
- Using builder 3.2.4
- Using erubi 1.10.0
- Using crass 1.0.6
- Using rack 2.2.3.1
- Using nio4r 2.5.8
- Using websocket-extensions 0.1.5
- Using marcel 1.0.2
- Using mini_mime 1.1.2
- Using timeout 0.3.0
- Using strscan 3.0.3
- Using public_suffix 4.0.7
- Using bindex 0.8.1
- Using msgpack 1.5.2
- Using matrix 0.4.2
- Using regexp_parser 2.5.0
- Using childprocess 4.1.0
- Using method_source 1.0.0
- Using thor 1.2.1
- Using zeitwerk 2.5.4
- Using rexml 3.2.5
- Using rubyzip 2.3.2
- Using websocket 1.2.9
- Using i18n 1.10.0
- Using tzinfo 2.0.4
- Fetching mysql2 0.5.4
- Using nokogiri 1.13.6 (x64-mingw-ucrt)
- Using rack-test 1.1.0
- Using websocket-driver 0.7.5
- Using mail 2.7.1
- Using net-protocol 0.1.3
- Using addressable 2.8.0
- Using puma 5.6.4
- Using bootsnap 1.11.1
- Using sprockets 4.0.3
- Using selenium-webdriver 4.2.0
- Using net-imap 0.2.3
- Using loofah 2.18.0
- Using net-pop 0.1.1
- Using activesupport 7.0.3
- Using net-smtp 0.3.1
- Using xpath 3.2.0
- Using webdrivers 5.0.0
- Using rails-dom-testing 2.0.3
- Using rails-html-sanitizer 1.4.2
- Using globalid 1.0.0
- Using activemodel 7.0.3
- Using capybara 3.37.1
- Using activejob 7.0.3
- Using actionview 7.0.3
- Using activerecord 7.0.3
- Using actionpack 7.0.3
- Using jbuilder 2.11.5
- Using actioncable 7.0.3
- Using activestorage 7.0.3
- Using actionmailer 7.0.3
- Using railties 7.0.3
- Using sprockets-rails 3.4.2
- Using actionmailbox 7.0.3
- Using actiontext 7.0.3
- Using importmap-rails 1.1.0
- Using stimulus-rails 1.0.4
- Using turbo-rails 1.1.1
- Using web-console 4.2.0
- Using rails 7.0.3
- Installing mysql2 0.5.4 with native extensions
- Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
- current directory:
- C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mysql2-0.5.4/ext/mysql2
- C:/Ruby31-x64/bin/ruby.exe -I C:/Ruby31-x64/lib/ruby/3.1.0 -r
- ./siteconf20220528-14532-av9pt3.rb extconf.rb
- checking for rb_absint_size()... yes
- checking for rb_absint_singlebit_p()... yes
- checking for rb_wait_for_single_fd()... yes
- checking for rb_enc_interned_str() in ruby.h... yes
- *** 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=C:/Ruby31-x64/bin/$(RUBY_BASE_NAME)
- --with-mysql-dir
- --without-mysql-dir
- --with-mysql-include
- --without-mysql-include=${mysql-dir}/include
- --with-mysql-lib
- --without-mysql-lib=${mysql-dir}/lib
- --with-mysql-config
- --without-mysql-config
- --with-mysqlclient-dir
- --without-mysqlclient-dir
- --with-mysqlclient-include
- --without-mysqlclient-include=${mysqlclient-dir}/include
- --with-mysqlclient-lib
- --without-mysqlclient-lib=${mysqlclient-dir}/lib
- --with-mysqlclientlib
- --without-mysqlclientlib
- C:/Ruby31-x64/lib/ruby/3.1.0/mkmf.rb:1086:in `block in find_library': undefined
- method `split' for nil:NilClass (NoMethodError)
- paths = paths.flat_map {|path| path.split(File::PATH_SEPARATOR)}
- ^^^^^^
- from C:/Ruby31-x64/lib/ruby/3.1.0/mkmf.rb:1086:in `each'
- from C:/Ruby31-x64/lib/ruby/3.1.0/mkmf.rb:1086:in `flat_map'
- from C:/Ruby31-x64/lib/ruby/3.1.0/mkmf.rb:1086:in `find_library'
- from extconf.rb:103:in `<main>'
- To see why this extension failed to compile, please check the mkmf.log which can
- be found here:
- C:/Ruby31-x64/lib/ruby/gems/3.1.0/extensions/x64-mingw-ucrt/3.1.0/mysql2-0.5.4/mkmf.log
- extconf failed, exit code 1
- Gem files will remain installed in
- C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mysql2-0.5.4 for inspection.
- Results logged to
- C:/Ruby31-x64/lib/ruby/gems/3.1.0/extensions/x64-mingw-ucrt/3.1.0/mysql2-0.5.4/gem_make.out
- C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/ext/builder.rb:95:in `run'
- C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:47:in `block in
- build'
- C:/Ruby31-x64/lib/ruby/3.1.0/tempfile.rb:317:in `open'
- C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:26:in `build'
- C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/ext/builder.rb:161:in `build_extension'
- C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/ext/builder.rb:195:in `block in
- build_extensions'
- C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/ext/builder.rb:192:in `each'
- C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/ext/builder.rb:192:in `build_extensions'
- C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/installer.rb:853:in `build_extensions'
- C:/Ruby31-x64/lib/ruby/3.1.0/bundler/rubygems_gem_installer.rb:71:in
- `build_extensions'
- C:/Ruby31-x64/lib/ruby/3.1.0/bundler/rubygems_gem_installer.rb:28:in `install'
- C:/Ruby31-x64/lib/ruby/3.1.0/bundler/source/rubygems.rb:204:in `install'
- C:/Ruby31-x64/lib/ruby/3.1.0/bundler/installer/gem_installer.rb:54:in
- `install'
- C:/Ruby31-x64/lib/ruby/3.1.0/bundler/installer/gem_installer.rb:16:in
- `install_from_spec'
- C:/Ruby31-x64/lib/ruby/3.1.0/bundler/installer/parallel_installer.rb:186:in
- `do_install'
- C:/Ruby31-x64/lib/ruby/3.1.0/bundler/installer/parallel_installer.rb:177:in
- `block in worker_pool'
- C:/Ruby31-x64/lib/ruby/3.1.0/bundler/worker.rb:62:in `apply_func'
- C:/Ruby31-x64/lib/ruby/3.1.0/bundler/worker.rb:57:in `block in process_queue'
- C:/Ruby31-x64/lib/ruby/3.1.0/bundler/worker.rb:54:in `loop'
- C:/Ruby31-x64/lib/ruby/3.1.0/bundler/worker.rb:54:in `process_queue'
- C:/Ruby31-x64/lib/ruby/3.1.0/bundler/worker.rb:91:in `block (2 levels) in
- create_threads'
- An error occurred while installing mysql2 (0.5.4), and Bundler cannot continue.
- In Gemfile:
- mysql2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement