We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bundle install
Using Ruby 3.1.2, from a new cloned repo, using bundle install, I got:
3.1.2
➜ active_storage_validations git:(master) bundle install Fetching gem metadata from https://rubygems.org/........... Fetching rake 13.0.3 Installing rake 13.0.3 Fetching minitest 5.14.3 Fetching erubi 1.10.0 Fetching crass 1.0.6 Fetching mini_portile2 2.5.1 Fetching concurrent-ruby 1.1.7 Fetching zeitwerk 2.4.2 Fetching builder 3.2.4 Fetching racc 1.5.2 Installing erubi 1.10.0 Installing crass 1.0.6 Installing mini_portile2 2.5.1 Installing zeitwerk 2.4.2 Installing builder 3.2.4 Installing minitest 5.14.3 Fetching rack 2.2.3 Using bundler 2.3.7 Fetching ast 2.4.1 Fetching coderay 1.1.3 Installing ast 2.4.1 Installing concurrent-ruby 1.1.7 Installing rack 2.2.3 Installing racc 1.5.2 with native extensions Installing coderay 1.1.3 Fetching method_source 1.0.0 Fetching thor 1.0.1 Fetching docile 1.4.0 Installing method_source 1.0.0 Installing docile 1.4.0 Fetching ffi 1.15.5 Installing thor 1.0.1 Fetching mini_magick 4.11.0 Installing mini_magick 4.11.0 Fetching parallel 1.20.1 Installing parallel 1.20.1 Fetching rainbow 3.0.0 Installing rainbow 3.0.0 Fetching regexp_parser 2.0.3 Fetching rexml 3.2.4 Installing rexml 3.2.4 Installing regexp_parser 2.0.3 Installing ffi 1.15.5 with native extensions Fetching ruby-progressbar 1.11.0 Fetching unicode-display_width 2.0.0 Installing ruby-progressbar 1.11.0 Installing unicode-display_width 2.0.0 Fetching simplecov-html 0.12.3 Fetching simplecov_json_formatter 0.1.4 Installing simplecov_json_formatter 0.1.4 Installing simplecov-html 0.12.3 Fetching sqlite3 1.4.2 Fetching parser 3.0.0.0 Installing sqlite3 1.4.2 with native extensions Fetching minitest-focus 1.4.0 Installing minitest-focus 1.4.0 Fetching pry 0.13.1 Installing pry 0.13.1 Installing parser 3.0.0.0 Fetching rack-test 1.1.0 Installing rack-test 1.1.0 Fetching i18n 1.8.7 Installing i18n 1.8.7 Fetching tzinfo 2.0.4 Fetching simplecov 0.22.0 Installing tzinfo 2.0.4 Installing simplecov 0.22.0 Fetching activesupport 6.1.1 Installing activesupport 6.1.1 Fetching rubocop-ast 1.4.0 Installing rubocop-ast 1.4.0 Fetching rubocop 1.8.1 Installing rubocop 1.8.1 Fetching activemodel 6.1.1 Fetching globalid 1.0.0 Installing globalid 1.0.0 Installing activemodel 6.1.1 Fetching activejob 6.1.1 Installing activejob 6.1.1 Fetching activerecord 6.1.1 Installing activerecord 6.1.1 Fetching nokogiri 1.11.3 Installing nokogiri 1.11.3 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /Users/mathieueustachy/code/Mth0158/active_storage_validations/vendor/bundle/ruby/3.1.0/gems/nokogiri-1.11.3/ext/nokogiri /Users/mathieueustachy/.rbenv/versions/3.1.2/bin/ruby -I /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/3.1.0 -r ./siteconf20240813-810-2qwhdu.rb extconf.rb checking for whether -g is accepted as CFLAGS... yes checking for whether -Winline is accepted as CFLAGS... yes checking for whether -Wmissing-noreturn is accepted as CFLAGS... yes checking for whether -Wno-error=unused-command-line-argument-hard-error-in-future is accepted as CFLAGS... no Building nokogiri using packaged libraries. Static linking is enabled. Cross build is disabled. checking for iconv.h... yes checking for gzdopen() in -lz... 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=/Users/mathieueustachy/.rbenv/versions/3.1.2/bin/$(RUBY_BASE_NAME) --help --clean --prevent-strip --enable-system-libraries --disable-system-libraries --use-system-libraries --enable-system-libraries --disable-system-libraries --use-system-libraries --enable-static --disable-static --enable-cross-build --disable-cross-build --with-zlib-dir --without-zlib-dir --with-zlib-include --without-zlib-include=${zlib-dir}/include --with-zlib-lib --without-zlib-lib=${zlib-dir}/lib --with-iconv-dir --without-iconv-dir --with-iconv-include --without-iconv-include=${iconv-dir}/include --with-iconv-lib --without-iconv-lib=${iconv-dir}/lib <internal:/Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- net/ftp (LoadError) from <internal:/Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from /Users/mathieueustachy/code/Mth0158/active_storage_validations/vendor/bundle/ruby/3.1.0/gems/mini_portile2-2.5.1/lib/mini_portile2/mini_portile.rb:4:in `<top (required)>' from <internal:/Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from <internal:/Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from /Users/mathieueustachy/code/Mth0158/active_storage_validations/vendor/bundle/ruby/3.1.0/gems/mini_portile2-2.5.1/lib/mini_portile2.rb:2:in `<top (required)>' from <internal:/Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from <internal:/Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from extconf.rb:402:in `process_recipe' from extconf.rb:744:in `<main>' To see why this extension failed to compile, please check the mkmf.log which can be found here: /Users/mathieueustachy/code/Mth0158/active_storage_validations/vendor/bundle/ruby/3.1.0/extensions/arm64-darwin-22/3.1.0/nokogiri-1.11.3/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /Users/mathieueustachy/code/Mth0158/active_storage_validations/vendor/bundle/ruby/3.1.0/gems/nokogiri-1.11.3 for inspection. Results logged to /Users/mathieueustachy/code/Mth0158/active_storage_validations/vendor/bundle/ruby/3.1.0/extensions/arm64-darwin-22/3.1.0/nokogiri-1.11.3/gem_make.out /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/ext/builder.rb:95:in `run' /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:47:in `block in build' /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/3.1.0/tempfile.rb:317:in `open' /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:26:in `build' /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/ext/builder.rb:161:in `build_extension' /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/ext/builder.rb:195:in `block in build_extensions' /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/ext/builder.rb:192:in `each' /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/ext/builder.rb:192:in `build_extensions' /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/installer.rb:853:in `build_extensions' /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/lib/bundler/rubygems_gem_installer.rb:71:in `build_extensions' /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/lib/bundler/rubygems_gem_installer.rb:28:in `install' /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/lib/bundler/source/rubygems.rb:204:in `install' /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/lib/bundler/installer/gem_installer.rb:54:in `install' /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec' /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/lib/bundler/installer/parallel_installer.rb:186:in `do_install' /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool' /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/lib/bundler/worker.rb:62:in `apply_func' /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/lib/bundler/worker.rb:57:in `block in process_queue' /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/lib/bundler/worker.rb:54:in `loop' /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/lib/bundler/worker.rb:54:in `process_queue' /Users/mathieueustachy/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads' An error occurred while installing nokogiri (1.11.3), and Bundler cannot continue. In Gemfile: active_storage_validations was resolved to 1.1.4, which depends on activestorage was resolved to 6.1.1, which depends on actionpack was resolved to 6.1.1, which depends on actionview was resolved to 6.1.1, which depends on rails-dom-testing was resolved to 2.0.3, which depends on nokogiri
The only way to fix it was to delete the Gemfile.lock, and launch bundle install again. There was issues with sqlite3 version also.
Gemfile.lock
sqlite3
The PR will provide a stable test environment by updating the Gemfile.lock
The text was updated successfully, but these errors were encountered:
[Gem] Make adjustments to clean the test suite (#260)
2b9e524
8e75642
3bb2876
68b23ec
Merge pull request #261 from igorkasyanchuk/260-test-difficulties-to-…
1d43ddd
…launch-the-bundle-install-command [Gem] Make adjustments to clean the test suite (#260)
[Matcher] Add limit validator matcher (#260)
4c1a7e3
Mth0158
Successfully merging a pull request may close this issue.
Using Ruby
3.1.2
, from a new cloned repo, usingbundle install
, I got:The only way to fix it was to delete the
Gemfile.lock
, and launchbundle install
again. There was issues withsqlite3
version also.The PR will provide a stable test environment by updating the
Gemfile.lock
The text was updated successfully, but these errors were encountered: