I'm trying to create a my project last, run command
rails server
The source contains the following gems matching 'mysql2':
- mysql2-0.5.6Run
bundle install
to install missing gems.
I am Try run bundle install, Not respom
C:\backoffice-apps-main>bundle installFetching gem metadata from https://rubygems.org/.........Resolving dependencies.............................Using rake 13.0.6Using racc 1.6.0Using concurrent-ruby 1.1.10Using minitest 5.16.3Using erubi 1.11.0Using digest 3.1.0Using builder 3.2.4Using crass 1.0.6Using rack 2.2.4Using ruby2_keywords 0.0.5Using nio4r 2.5.8Using websocket-extensions 0.1.5Using marcel 1.0.2Using mini_mime 1.1.2Using timeout 0.3.0Using strscan 3.0.4Using active_material 1.5.2Using formtastic_i18n 0.7.0Using bundler 2.3.15Using method_source 1.0.0Using thor 1.2.1Using zeitwerk 2.6.0Using kaminari-core 1.2.2Using require_all 3.0.0Using ffi 1.15.5 (x64-mingw-ucrt)Using tilt 2.0.11Using ruby-oci8 2.2.11 (x64-mingw-ucrt)Using ruby-plsql 0.8.0Using pg 1.4.3 (x64-mingw-ucrt)Using rgeo 2.4.0Using public_suffix 5.0.0Using ansi 1.5.0Using ast 2.4.2Using attr_extras 6.2.5Using bcrypt 3.1.18Using coderay 1.1.3Using debug_inspector 1.1.0Using msgpack 1.5.4Using brakeman 5.3.1Using choice 0.2.0Using rspec-support 3.11.0Using diff-lcs 1.5.0Using orm_adapter 0.5.0Using matrix 0.4.2Using regexp_parser 2.5.0Using docile 1.4.0Using childprocess 4.1.0Using dotenv 2.8.1Using dry-cli 0.7.0Using faraday-net_http 3.0.0Using jwt 2.4.1Using memoist 0.16.2Using multi_json 1.15.0Using os 1.1.4Using mime-types-data 3.2022.0105Using formatador 1.1.0Using raabro 1.4.0Using webrick 1.7.0Using rb-fsevent 0.11.1Using lumberjack 1.2.8Using nenv 0.3.0Using shellany 0.0.1Using guard-compat 1.2.1Using htmlbeautifier 1.4.2Using humanize 2.5.1Using json 2.6.2Using language_server-protocol 3.16.0.3Using redcarpet 3.5.1Using rouge 3.30.0Using oj 3.13.21Using optimist 3.0.1Using parallel 1.22.1Using prettier_print 0.1.0Using rexml 3.2.5Using rainbow 3.1.1Fetching mysql2 0.5.3Using redis 4.7.1Using rolify 6.0.0Using ruby-progressbar 1.11.0Using unicode-display_width 2.2.0Using sorbet-runtime 0.5.10354Using rubyzip 2.3.2Using websocket 1.2.9Using simplecov-html 0.12.3Using simplecov_json_formatter 0.1.4Using temple 0.8.2Using spring 4.0.0Using sqlite3 1.4.4Using timecop 0.9.5Using timeliness 0.4.4Using tzinfo 2.0.5Using i18n 1.12.0Using nokogiri 1.13.8 (x64-mingw-ucrt)Using rack-test 2.0.2Using websocket-driver 0.7.5Using mail 2.7.1Using sprockets 4.1.1Using warden 1.2.9Using request_store 1.5.1Using puma 5.6.4Using rack-cors 1.1.1Using rack-proxy 0.7.2Using saharspec 0.0.9Using net-protocol 0.1.3Using sassc 2.4.0Using addressable 2.8.1Using fast_excel 0.4.0Using rb-inotify 0.10.1Using better_errors 2.9.1Using binding_of_caller 1.0.0Using bootsnap 1.13.0Using pry 0.14.1Using parser 3.1.2.1Using rspec-core 3.11.0Using rspec-expectations 3.11.0Using rspec-mocks 3.11.1Using faraday 2.5.2Using mime-types 3.4.1Using notiffany 0.1.3Using yard 0.9.28Using recaptcha 5.10.0Using parallel_tests 3.11.1Using patience_diff 1.2.0Using ruby-graphviz 1.2.5Using syntax_tree 3.4.0Using selenium-webdriver 4.4.0Using simplecov 0.21.2Using terminal-table 3.0.2Using xsv 1.1.1Using activesupport 7.0.3.1Using et-orbi 1.2.7Using slim 4.1.0Using spring-commands-rspec 1.0.4Using spring-commands-thor 1.0.1Using loofah 2.18.0Using xpath 3.2.0Using net-imap 0.2.3Using net-pop 0.1.1Using net-smtp 0.3.1Using launchy 2.5.0Using vite_ruby 3.2.2Using listen 3.7.1Using pry-nav 1.0.0Using pry-rails 0.3.9Using pry-stack_explorer 0.6.1Using rubocop-ast 1.21.0Using rspec 3.11.0Using signet 0.17.0Using pry-doc 1.3.0Using ruby-lsp 0.2.3Using simplecov-console 0.9.1Using super_diff 0.9.0Using rails-dom-testing 2.0.3Using rails-html-sanitizer 1.4.3Using globalid 1.0.0Using activemodel 7.0.3.1Using arbre 1.5.0Using enumerize 2.5.0Using factory_bot 6.2.1Using fugit 1.5.3Using view_component 2.69.0Using pagy 5.10.1Using pundit 2.2.0Using shoulda-matchers 5.1.0Using capybara 3.37.1Using guard 2.18.0Using db-query-matchers 0.11.0Using googleauth 1.2.0Using rubocop 1.35.0Using validates_timeliness 6.0.0.beta2 from https://github.com/mitsuru/validates_timeliness (at rails7@f28a625)Using actionview 7.0.3.1Using activejob 7.0.3.1Using activerecord 7.0.3.1Using activemodel-serializers-xml 1.0.2Using file_validators 3.0.0Using valid_email2 4.0.3Using kaminari-actionview 1.2.2Using fcm 1.0.8Using guard-rspec 4.7.3Using rubocop-performance 1.14.3Using rubocop-rspec 2.12.1Using actionpack 7.0.3.1Using svg_use 0.1.1Using kaminari-activerecord 1.2.2Using ransack 3.2.1Using activerecord-oracle_enhanced-adapter 7.0.2Using activerecord-pg_enum 2.0.0Using rgeo-activerecord 7.0.1Using annotate 3.2.0Using composite_primary_keys 14.0.4Using rails-erd 1.7.2Using actioncable 7.0.3.1Using activestorage 7.0.3.1Using actionmailer 7.0.3.1Using formtastic 4.0.0Using has_scope 0.8.0Using railties 7.0.3.1Using sprockets-rails 3.4.2Using bootstrap_form 5.1.0Using draper 4.0.2Using rails-controller-testing 1.0.5Using simple_active_link_to 1.1.2Using simple_form 5.1.0Using standard 1.16.0Using kaminari 1.2.2Using activerecord-postgis-adapter 8.0.1Using actionmailbox 7.0.3.1Using actiontext 7.0.3.1Using active_storage_validations 0.9.8Using responders 3.0.1Using jquery-rails 4.5.0Using sassc-rails 2.1.2Using data_migrate 8.1.1Using dotenv-rails 2.8.1Using factory_bot_rails 6.2.0Using good_job 3.4.4Using js_from_routes 2.0.6Using lookbook 0.9.3Using rails-i18n 7.0.5Using rspec-rails 5.1.2Using slim-rails 3.5.1Using turbo-rails 1.1.1Using vite_rails 3.0.12Using inherited_resources 1.13.1Using rails 7.0.3.1Using devise 4.8.1Using activeadmin 2.13.1Using iprotax 0.1.1 from source at `engines/iprotax`Using pdl 0.1.0 from source at `engines/pdl`Using xdan-datetimepicker-rails 2.5.4Using activestorage-validator 0.2.2Using activeadmin_addons 1.9.0Installing mysql2 0.5.3 with native extensionsGem::Ext::BuildError: ERROR: Failed to build gem native extension.current directory:C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mysql2-0.5.3/ext/mysql2C:/Ruby31-x64/bin/ruby.exe -I C:/Ruby31-x64/lib/ruby/3.1.0 -r./siteconf20240314-15092-oeeuri.rb extconf.rbchecking for rb_absint_size()... yeschecking for rb_absint_singlebit_p()... yeschecking for rb_wait_for_single_fd()... yes*** extconf.rb failed ***Could not create Makefile due to some reason, probably lack of necessarylibraries and/or headers. Check the mkmf.log file for more details. You mayneed 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-mysqlclientlibC:/Ruby31-x64/lib/ruby/3.1.0/mkmf.rb:1086:in `block in find_library': undefinedmethod `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:87:in `<main>'To see why this extension failed to compile, please check the mkmf.log which canbe found here:C:/Ruby31-x64/lib/ruby/gems/3.1.0/extensions/x64-mingw-ucrt/3.1.0/mysql2-0.5.3/mkmf.logextconf failed, exit code 1Gem files will remain installed inC:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mysql2-0.5.3 for inspection.Results logged toC:/Ruby31-x64/lib/ruby/gems/3.1.0/extensions/x64-mingw-ucrt/3.1.0/mysql2-0.5.3/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 inbuild' 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 inbuild_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/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/rubygems_gem_installer.rb:71:in`build_extensions'C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/rubygems_gem_installer.rb:28:in`install'C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/source/rubygems.rb:204:in`install'C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/installer/gem_installer.rb:54:in`install'C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/installer/gem_installer.rb:16:in`install_from_spec'C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/installer/parallel_installer.rb:186:in`do_install'C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/installer/parallel_installer.rb:177:in`block in worker_pool'C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/worker.rb:62:in`apply_func'C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/worker.rb:57:in`block in process_queue'C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/worker.rb:54:in`loop'C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/worker.rb:54:in`process_queue'C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/worker.rb:91:in`block (2 levels) in create_threads'An error occurred while installing mysql2 (0.5.3), and Bundler cannot continue.In Gemfile: mysql2