Skip to content

Use Bundler.with_unbundled_env for GeneratorsTestHelper run_app_update#56275

Merged
yahonda merged 1 commit into
rails:mainfrom
zzak:re-56271
Dec 3, 2025
Merged

Use Bundler.with_unbundled_env for GeneratorsTestHelper run_app_update#56275
yahonda merged 1 commit into
rails:mainfrom
zzak:re-56271

Conversation

@zzak

@zzak zzak commented Dec 3, 2025

Copy link
Copy Markdown
Member

Fixes #56271
/cc @yahonda

```
bin/test railties/test/generators/app_generator_test.rb
Run options: --seed 45257

 # Running:

............/home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:356:in 'Bundler::Resolver#raise_not_found!': Could not find gems matching 'thruster' valid for all resolution platforms (aarch64-linux, arm64-darwin, x86_64-darwin, x86_64-linux) in locally installed gems. (Bundler::GemNotFound)

The source contains the following gems matching 'thruster':
  * thruster-0.1.10-x86_64-linux
  * thruster-0.1.16-x86_64-linux
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:450:in 'block in Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Hash#each'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Enumerable#filter_map'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:63:in 'Bundler::Resolver#setup_solver'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:28:in 'Bundler::Resolver#start'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:755:in 'Bundler::Definition#start_resolution'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:350:in 'Bundler::Definition#resolve'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:668:in 'Bundler::Definition#materialize'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:240:in 'Bundler::Definition#specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:312:in 'Bundler::Definition#specs_for'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/runtime.rb:18:in 'Bundler::Runtime#setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler.rb:165:in 'Bundler.setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in 'block in <top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:177:in 'Bundler::UI::Shell#with_level'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:122:in 'Bundler::UI::Shell#silence'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in '<top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in 'Kernel#require'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in '<top (required)>'
        from <internal:gem_prelude>:2:in '<internal:gem_prelude>'
E

Error:
AppGeneratorTest#test_ci_workflow_does_not_include_db_test_prepare_when_skip_active_record_is_given:
RuntimeError: Command failed with exit 1: bin/rails
    test/generators/generators_test_helper.rb:150:in 'Kernel#system'
    test/generators/generators_test_helper.rb:150:in 'block (2 levels) in GeneratorsTestHelper#run_app_update'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/stream.rb:11:in 'ActiveSupport::Testing::Stream#silence_stream'
    test/generators/generators_test_helper.rb:150:in 'block in GeneratorsTestHelper#run_app_update'
    test/generators/generators_test_helper.rb:145:in 'Dir.chdir'
    test/generators/generators_test_helper.rb:145:in 'GeneratorsTestHelper#run_app_update'
    test/generators/app_generator_test.rb:730:in 'AppGeneratorTest#test_ci_workflow_does_not_include_db_test_prepare_when_skip_active_record_is_given'

bin/test railties/test/generators/app_generator_test.rb:728

....................../home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/git/git_proxy.rb:367:in 'Bundler::Source::Git::GitProxy#allowed_with_path': The git source https://github.com/rack/rack.git is not yet checked out. Please run `bundle install` before trying to start your application (Bundler::GitError)
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/git/git_proxy.rb:78:in 'Bundler::Source::Git::GitProxy#revision'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/git.rb:253:in 'Bundler::Source::Git#revision'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/git.rb:130:in 'Bundler::Source::Git#install_path'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/path.rb:125:in 'Bundler::Source::Path#expanded_path'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/path.rb:162:in 'Bundler::Source::Path#load_spec_files'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/git.rb:230:in 'Bundler::Source::Git#load_spec_files'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/path.rb:99:in 'Bundler::Source::Path#local_specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/git.rb:198:in 'Bundler::Source::Git#specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source.rb:62:in 'Bundler::Source#spec_names'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source_map.rb:21:in 'block in Bundler::SourceMap#all_requirements'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source_map.rb:20:in 'Array#map'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source_map.rb:20:in 'Bundler::SourceMap#all_requirements'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:1129:in 'Bundler::Definition#find_source_requirements'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:1105:in 'Bundler::Definition#source_requirements'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:1227:in 'Bundler::Definition#new_resolution_base'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:655:in 'Bundler::Definition#resolution_base'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:637:in 'Bundler::Definition#resolver'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:755:in 'Bundler::Definition#start_resolution'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:350:in 'Bundler::Definition#resolve'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:668:in 'Bundler::Definition#materialize'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:240:in 'Bundler::Definition#specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:312:in 'Bundler::Definition#specs_for'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/runtime.rb:18:in 'Bundler::Runtime#setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler.rb:165:in 'Bundler.setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in 'block in <top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:177:in 'Bundler::UI::Shell#with_level'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:122:in 'Bundler::UI::Shell#silence'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in '<top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in 'Kernel#require'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in '<top (required)>'
        from <internal:gem_prelude>:2:in '<internal:gem_prelude>'
F

Failure:
AppGeneratorTest#test_generated_files_have_no_rubocop_warnings [test/generators/shared_generator_tests.rb:397]:
bin/rubocop did not exit successfully:
.
Expected #<Process::Status: pid 584377 exit 1> to be success?.

bin/test railties/test/generators/shared_generator_tests.rb:391

...warning: re-init: ignored --initial-branch=main
...../home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:356:in 'Bundler::Resolver#raise_not_found!': Could not find gems matching 'thruster' valid for all resolution platforms (aarch64-linux, arm64-darwin, x86_64-darwin, x86_64-linux) in locally installed gems. (Bundler::GemNotFound)

The source contains the following gems matching 'thruster':
  * thruster-0.1.10-x86_64-linux
  * thruster-0.1.16-x86_64-linux
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:450:in 'block in Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Hash#each'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Enumerable#filter_map'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:63:in 'Bundler::Resolver#setup_solver'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:28:in 'Bundler::Resolver#start'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:755:in 'Bundler::Definition#start_resolution'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:350:in 'Bundler::Definition#resolve'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:668:in 'Bundler::Definition#materialize'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:240:in 'Bundler::Definition#specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:312:in 'Bundler::Definition#specs_for'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/runtime.rb:18:in 'Bundler::Runtime#setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler.rb:165:in 'Bundler.setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in 'block in <top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:177:in 'Bundler::UI::Shell#with_level'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:122:in 'Bundler::UI::Shell#silence'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in '<top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in 'Kernel#require'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in '<top (required)>'
        from <internal:gem_prelude>:2:in '<internal:gem_prelude>'
E

Error:
AppGeneratorTest#test_app_update:
RuntimeError: Command failed with exit 1: bin/rails
    test/generators/generators_test_helper.rb:150:in 'Kernel#system'
    test/generators/generators_test_helper.rb:150:in 'block (2 levels) in GeneratorsTestHelper#run_app_update'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/stream.rb:11:in 'ActiveSupport::Testing::Stream#silence_stream'
    test/generators/generators_test_helper.rb:150:in 'block in GeneratorsTestHelper#run_app_update'
    test/generators/generators_test_helper.rb:145:in 'Dir.chdir'
    test/generators/generators_test_helper.rb:145:in 'GeneratorsTestHelper#run_app_update'
    test/generators/app_generator_test.rb:175:in 'AppGeneratorTest#test_app_update'

bin/test railties/test/generators/app_generator_test.rb:167

/home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:356:in 'Bundler::Resolver#raise_not_found!': Could not find gems matching 'thruster' valid for all resolution platforms (aarch64-linux, arm64-darwin, x86_64-darwin, x86_64-linux) in locally installed gems. (Bundler::GemNotFound)

The source contains the following gems matching 'thruster':
  * thruster-0.1.10-x86_64-linux
  * thruster-0.1.16-x86_64-linux
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:450:in 'block in Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Hash#each'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Enumerable#filter_map'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:63:in 'Bundler::Resolver#setup_solver'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:28:in 'Bundler::Resolver#start'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:755:in 'Bundler::Definition#start_resolution'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:350:in 'Bundler::Definition#resolve'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:668:in 'Bundler::Definition#materialize'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:240:in 'Bundler::Definition#specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:312:in 'Bundler::Definition#specs_for'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/runtime.rb:18:in 'Bundler::Runtime#setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler.rb:165:in 'Bundler.setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in 'block in <top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:177:in 'Bundler::UI::Shell#with_level'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:122:in 'Bundler::UI::Shell#silence'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in '<top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in 'Kernel#require'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in '<top (required)>'
        from <internal:gem_prelude>:2:in '<internal:gem_prelude>'
E

Error:
AppGeneratorTest#test_app_update_preserves_skip_brakeman:
RuntimeError: Command failed with exit 1: bin/rails
    test/generators/generators_test_helper.rb:150:in 'Kernel#system'
    test/generators/generators_test_helper.rb:150:in 'block (2 levels) in GeneratorsTestHelper#run_app_update'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/stream.rb:11:in 'ActiveSupport::Testing::Stream#silence_stream'
    test/generators/generators_test_helper.rb:150:in 'block in GeneratorsTestHelper#run_app_update'
    test/generators/generators_test_helper.rb:145:in 'Dir.chdir'
    test/generators/generators_test_helper.rb:145:in 'GeneratorsTestHelper#run_app_update'
    test/generators/app_generator_test.rb:294:in 'block (2 levels) in AppGeneratorTest#test_app_update_preserves_skip_brakeman'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/assertions.rb:49:in 'ActiveSupport::Testing::Assertions#assert_nothing_raised'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/assertions.rb:315:in 'ActiveSupport::Testing::Assertions#_assert_nothing_raised_or_warn'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/assertions.rb:284:in 'ActiveSupport::Testing::Assertions#assert_no_changes'
    test/generators/app_generator_test.rb:293:in 'block in AppGeneratorTest#test_app_update_preserves_skip_brakeman'
    /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/fileutils.rb:241:in 'Dir.chdir'
    /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/fileutils.rb:241:in 'FileUtils.cd'
    test/generators/app_generator_test.rb:292:in 'AppGeneratorTest#test_app_update_preserves_skip_brakeman'

bin/test railties/test/generators/app_generator_test.rb:289

./home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:356:in 'Bundler::Resolver#raise_not_found!': Could not find gems matching 'thruster' valid for all resolution platforms (aarch64-linux, arm64-darwin, x86_64-darwin, x86_64-linux) in locally installed gems. (Bundler::GemNotFound)

The source contains the following gems matching 'thruster':
  * thruster-0.1.10-x86_64-linux
  * thruster-0.1.16-x86_64-linux
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:450:in 'block in Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Hash#each'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Enumerable#filter_map'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:63:in 'Bundler::Resolver#setup_solver'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:28:in 'Bundler::Resolver#start'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:755:in 'Bundler::Definition#start_resolution'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:350:in 'Bundler::Definition#resolve'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:668:in 'Bundler::Definition#materialize'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:240:in 'Bundler::Definition#specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:312:in 'Bundler::Definition#specs_for'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/runtime.rb:18:in 'Bundler::Runtime#setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler.rb:165:in 'Bundler.setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in 'block in <top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:177:in 'Bundler::UI::Shell#with_level'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:122:in 'Bundler::UI::Shell#silence'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in '<top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in 'Kernel#require'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in '<top (required)>'
        from <internal:gem_prelude>:2:in '<internal:gem_prelude>'
E

Error:
AppGeneratorTest#test_app_update_does_not_generate_active_storage_contents_when_skip_active_storage_is_given:
RuntimeError: Command failed with exit 1: bin/rails
    test/generators/generators_test_helper.rb:150:in 'Kernel#system'
    test/generators/generators_test_helper.rb:150:in 'block (2 levels) in GeneratorsTestHelper#run_app_update'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/stream.rb:11:in 'ActiveSupport::Testing::Stream#silence_stream'
    test/generators/generators_test_helper.rb:150:in 'block in GeneratorsTestHelper#run_app_update'
    test/generators/generators_test_helper.rb:145:in 'Dir.chdir'
    test/generators/generators_test_helper.rb:145:in 'GeneratorsTestHelper#run_app_update'
    test/generators/app_generator_test.rb:355:in 'AppGeneratorTest#test_app_update_does_not_generate_active_storage_contents_when_skip_active_storage_is_given'

bin/test railties/test/generators/app_generator_test.rb:352

...../home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:356:in 'Bundler::Resolver#raise_not_found!': Could not find gems matching 'thruster' valid for all resolution platforms (aarch64-linux, arm64-darwin, x86_64-darwin, x86_64-linux) in locally installed gems. (Bundler::GemNotFound)

The source contains the following gems matching 'thruster':
  * thruster-0.1.10-x86_64-linux
  * thruster-0.1.16-x86_64-linux
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:450:in 'block in Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Hash#each'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Enumerable#filter_map'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:63:in 'Bundler::Resolver#setup_solver'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:28:in 'Bundler::Resolver#start'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:755:in 'Bundler::Definition#start_resolution'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:350:in 'Bundler::Definition#resolve'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:668:in 'Bundler::Definition#materialize'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:240:in 'Bundler::Definition#specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:312:in 'Bundler::Definition#specs_for'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/runtime.rb:18:in 'Bundler::Runtime#setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler.rb:165:in 'Bundler.setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in 'block in <top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:177:in 'Bundler::UI::Shell#with_level'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:122:in 'Bundler::UI::Shell#silence'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in '<top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in 'Kernel#require'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in '<top (required)>'
        from <internal:gem_prelude>:2:in '<internal:gem_prelude>'
E

Error:
AppGeneratorTest#test_app_update_does_not_generate_bootsnap_contents_when_skip_bootsnap_is_given:
RuntimeError: Command failed with exit 1: bin/rails
    test/generators/generators_test_helper.rb:150:in 'Kernel#system'
    test/generators/generators_test_helper.rb:150:in 'block (2 levels) in GeneratorsTestHelper#run_app_update'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/stream.rb:11:in 'ActiveSupport::Testing::Stream#silence_stream'
    test/generators/generators_test_helper.rb:150:in 'block in GeneratorsTestHelper#run_app_update'
    test/generators/generators_test_helper.rb:145:in 'Dir.chdir'
    test/generators/generators_test_helper.rb:145:in 'GeneratorsTestHelper#run_app_update'
    test/generators/app_generator_test.rb:249:in 'AppGeneratorTest#test_app_update_does_not_generate_bootsnap_contents_when_skip_bootsnap_is_given'

bin/test railties/test/generators/app_generator_test.rb:247

...../home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/git/git_proxy.rb:367:in 'Bundler::Source::Git::GitProxy#allowed_with_path': The git source https://github.com/rack/rack.git is not yet checked out. Please run `bundle install` before trying to start your application (Bundler::GitError)
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/git/git_proxy.rb:78:in 'Bundler::Source::Git::GitProxy#revision'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/git.rb:253:in 'Bundler::Source::Git#revision'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/git.rb:130:in 'Bundler::Source::Git#install_path'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/path.rb:125:in 'Bundler::Source::Path#expanded_path'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/path.rb:162:in 'Bundler::Source::Path#load_spec_files'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/git.rb:230:in 'Bundler::Source::Git#load_spec_files'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/path.rb:99:in 'Bundler::Source::Path#local_specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/git.rb:198:in 'Bundler::Source::Git#specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source.rb:62:in 'Bundler::Source#spec_names'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source_map.rb:21:in 'block in Bundler::SourceMap#all_requirements'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source_map.rb:20:in 'Array#map'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source_map.rb:20:in 'Bundler::SourceMap#all_requirements'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:1129:in 'Bundler::Definition#find_source_requirements'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:1105:in 'Bundler::Definition#source_requirements'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:1227:in 'Bundler::Definition#new_resolution_base'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:655:in 'Bundler::Definition#resolution_base'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:637:in 'Bundler::Definition#resolver'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:755:in 'Bundler::Definition#start_resolution'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:350:in 'Bundler::Definition#resolve'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:668:in 'Bundler::Definition#materialize'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:240:in 'Bundler::Definition#specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:312:in 'Bundler::Definition#specs_for'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/runtime.rb:18:in 'Bundler::Runtime#setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler.rb:165:in 'Bundler.setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in 'block in <top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:177:in 'Bundler::UI::Shell#with_level'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:122:in 'Bundler::UI::Shell#silence'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in '<top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in 'Kernel#require'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in '<top (required)>'
        from <internal:gem_prelude>:2:in '<internal:gem_prelude>'
F

Failure:
AppGeneratorTest#test_application_new_show_help_message_inside_existing_rails_directory [test/generators/app_generator_test.rb:152]:
Expected /rails new APP_PATH \[options\]/ to match "".

bin/test railties/test/generators/app_generator_test.rb:147

........../home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:356:in 'Bundler::Resolver#raise_not_found!': Could not find gems matching 'thruster' valid for all resolution platforms (aarch64-linux, arm64-darwin, x86_64-darwin, x86_64-linux) in locally installed gems. (Bundler::GemNotFound)

The source contains the following gems matching 'thruster':
  * thruster-0.1.10-x86_64-linux
  * thruster-0.1.16-x86_64-linux
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:450:in 'block in Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Hash#each'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Enumerable#filter_map'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:63:in 'Bundler::Resolver#setup_solver'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:28:in 'Bundler::Resolver#start'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:755:in 'Bundler::Definition#start_resolution'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:350:in 'Bundler::Definition#resolve'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:668:in 'Bundler::Definition#materialize'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:240:in 'Bundler::Definition#specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:312:in 'Bundler::Definition#specs_for'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/runtime.rb:18:in 'Bundler::Runtime#setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler.rb:165:in 'Bundler.setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in 'block in <top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:177:in 'Bundler::UI::Shell#with_level'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:122:in 'Bundler::UI::Shell#silence'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in '<top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in 'Kernel#require'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in '<top (required)>'
        from <internal:gem_prelude>:2:in '<internal:gem_prelude>'
E

Error:
AppGeneratorTest#test_app_update_preserves_skip_active_job:
RuntimeError: Command failed with exit 1: bin/rails
    test/generators/generators_test_helper.rb:150:in 'Kernel#system'
    test/generators/generators_test_helper.rb:150:in 'block (2 levels) in GeneratorsTestHelper#run_app_update'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/stream.rb:11:in 'ActiveSupport::Testing::Stream#silence_stream'
    test/generators/generators_test_helper.rb:150:in 'block in GeneratorsTestHelper#run_app_update'
    test/generators/generators_test_helper.rb:145:in 'Dir.chdir'
    test/generators/generators_test_helper.rb:145:in 'GeneratorsTestHelper#run_app_update'
    test/generators/app_generator_test.rb:262:in 'block (2 levels) in AppGeneratorTest#test_app_update_preserves_skip_active_job'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/assertions.rb:49:in 'ActiveSupport::Testing::Assertions#assert_nothing_raised'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/assertions.rb:315:in 'ActiveSupport::Testing::Assertions#_assert_nothing_raised_or_warn'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/assertions.rb:284:in 'ActiveSupport::Testing::Assertions#assert_no_changes'
    test/generators/app_generator_test.rb:261:in 'block in AppGeneratorTest#test_app_update_preserves_skip_active_job'
    /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/fileutils.rb:241:in 'Dir.chdir'
    /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/fileutils.rb:241:in 'FileUtils.cd'
    test/generators/app_generator_test.rb:259:in 'AppGeneratorTest#test_app_update_preserves_skip_active_job'

bin/test railties/test/generators/app_generator_test.rb:256

/home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:356:in 'Bundler::Resolver#raise_not_found!': Could not find gems matching 'thruster' valid for all resolution platforms (aarch64-linux, arm64-darwin, x86_64-darwin, x86_64-linux) in locally installed gems. (Bundler::GemNotFound)

The source contains the following gems matching 'thruster':
  * thruster-0.1.10-x86_64-linux
  * thruster-0.1.16-x86_64-linux
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:450:in 'block in Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Hash#each'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Enumerable#filter_map'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:63:in 'Bundler::Resolver#setup_solver'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:28:in 'Bundler::Resolver#start'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:755:in 'Bundler::Definition#start_resolution'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:350:in 'Bundler::Definition#resolve'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:668:in 'Bundler::Definition#materialize'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:240:in 'Bundler::Definition#specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:312:in 'Bundler::Definition#specs_for'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/runtime.rb:18:in 'Bundler::Runtime#setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler.rb:165:in 'Bundler.setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in 'block in <top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:177:in 'Bundler::UI::Shell#with_level'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:122:in 'Bundler::UI::Shell#silence'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in '<top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in 'Kernel#require'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in '<top (required)>'
        from <internal:gem_prelude>:2:in '<internal:gem_prelude>'
E

Error:
AppGeneratorTest#test_app_update_does_not_change_config_target_version:
RuntimeError: Command failed with exit 1: bin/rails
    test/generators/generators_test_helper.rb:150:in 'Kernel#system'
    test/generators/generators_test_helper.rb:150:in 'block (2 levels) in GeneratorsTestHelper#run_app_update'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/stream.rb:11:in 'ActiveSupport::Testing::Stream#silence_stream'
    test/generators/generators_test_helper.rb:150:in 'block in GeneratorsTestHelper#run_app_update'
    test/generators/generators_test_helper.rb:145:in 'Dir.chdir'
    test/generators/generators_test_helper.rb:145:in 'GeneratorsTestHelper#run_app_update'
    test/generators/app_generator_test.rb:423:in 'AppGeneratorTest#test_app_update_does_not_change_config_target_version'

bin/test railties/test/generators/app_generator_test.rb:414

........../home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:356:in 'Bundler::Resolver#raise_not_found!': Could not find gems matching 'thruster' valid for all resolution platforms (aarch64-linux, arm64-darwin, x86_64-darwin, x86_64-linux) in locally installed gems. (Bundler::GemNotFound)

The source contains the following gems matching 'thruster':
  * thruster-0.1.10-x86_64-linux
  * thruster-0.1.16-x86_64-linux
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:450:in 'block in Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Hash#each'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Enumerable#filter_map'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:63:in 'Bundler::Resolver#setup_solver'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:28:in 'Bundler::Resolver#start'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:755:in 'Bundler::Definition#start_resolution'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:350:in 'Bundler::Definition#resolve'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:668:in 'Bundler::Definition#materialize'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:240:in 'Bundler::Definition#specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:312:in 'Bundler::Definition#specs_for'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/runtime.rb:18:in 'Bundler::Runtime#setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler.rb:165:in 'Bundler.setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in 'block in <top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:177:in 'Bundler::UI::Shell#with_level'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:122:in 'Bundler::UI::Shell#silence'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in '<top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in 'Kernel#require'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in '<top (required)>'
        from <internal:gem_prelude>:2:in '<internal:gem_prelude>'
E

Error:
AppGeneratorTest#test_app_update_does_not_change_app_name_when_app_name_is_hyphenated_name:
RuntimeError: Command failed with exit 1: bin/rails
    test/generators/generators_test_helper.rb:150:in 'Kernel#system'
    test/generators/generators_test_helper.rb:150:in 'block (2 levels) in GeneratorsTestHelper#run_app_update'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/stream.rb:11:in 'ActiveSupport::Testing::Stream#silence_stream'
    test/generators/generators_test_helper.rb:150:in 'block in GeneratorsTestHelper#run_app_update'
    test/generators/generators_test_helper.rb:145:in 'Dir.chdir'
    test/generators/generators_test_helper.rb:145:in 'GeneratorsTestHelper#run_app_update'
    test/generators/app_generator_test.rb:442:in 'AppGeneratorTest#test_app_update_does_not_change_app_name_when_app_name_is_hyphenated_name'

bin/test railties/test/generators/app_generator_test.rb:428

................../home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:356:in 'Bundler::Resolver#raise_not_found!': Could not find gems matching 'thruster' valid for all resolution platforms (aarch64-linux, arm64-darwin, x86_64-darwin, x86_64-linux) in locally installed gems. (Bundler::GemNotFound)

The source contains the following gems matching 'thruster':
  * thruster-0.1.10-x86_64-linux
  * thruster-0.1.16-x86_64-linux
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:450:in 'block in Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Hash#each'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Enumerable#filter_map'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:63:in 'Bundler::Resolver#setup_solver'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:28:in 'Bundler::Resolver#start'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:755:in 'Bundler::Definition#start_resolution'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:350:in 'Bundler::Definition#resolve'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:668:in 'Bundler::Definition#materialize'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:240:in 'Bundler::Definition#specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:312:in 'Bundler::Definition#specs_for'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/runtime.rb:18:in 'Bundler::Runtime#setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler.rb:165:in 'Bundler.setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in 'block in <top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:177:in 'Bundler::UI::Shell#with_level'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:122:in 'Bundler::UI::Shell#silence'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in '<top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in 'Kernel#require'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in '<top (required)>'
        from <internal:gem_prelude>:2:in '<internal:gem_prelude>'
E

Error:
AppGeneratorTest#test_app_update_preserves_skip_action_text:
RuntimeError: Command failed with exit 1: bin/rails
    test/generators/generators_test_helper.rb:150:in 'Kernel#system'
    test/generators/generators_test_helper.rb:150:in 'block (2 levels) in GeneratorsTestHelper#run_app_update'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/stream.rb:11:in 'ActiveSupport::Testing::Stream#silence_stream'
    test/generators/generators_test_helper.rb:150:in 'block in GeneratorsTestHelper#run_app_update'
    test/generators/generators_test_helper.rb:145:in 'Dir.chdir'
    test/generators/generators_test_helper.rb:145:in 'GeneratorsTestHelper#run_app_update'
    test/generators/app_generator_test.rb:284:in 'block (2 levels) in AppGeneratorTest#test_app_update_preserves_skip_action_text'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/assertions.rb:49:in 'ActiveSupport::Testing::Assertions#assert_nothing_raised'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/assertions.rb:315:in 'ActiveSupport::Testing::Assertions#_assert_nothing_raised_or_warn'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/assertions.rb:284:in 'ActiveSupport::Testing::Assertions#assert_no_changes'
    test/generators/app_generator_test.rb:283:in 'block in AppGeneratorTest#test_app_update_preserves_skip_action_text'
    /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/fileutils.rb:241:in 'Dir.chdir'
    /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/fileutils.rb:241:in 'FileUtils.cd'
    test/generators/app_generator_test.rb:281:in 'AppGeneratorTest#test_app_update_preserves_skip_action_text'

bin/test railties/test/generators/app_generator_test.rb:278

..../home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:356:in 'Bundler::Resolver#raise_not_found!': Could not find gems matching 'thruster' valid for all resolution platforms (aarch64-linux, arm64-darwin, x86_64-darwin, x86_64-linux) in locally installed gems. (Bundler::GemNotFound)

The source contains the following gems matching 'thruster':
  * thruster-0.1.10-x86_64-linux
  * thruster-0.1.16-x86_64-linux
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:450:in 'block in Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Hash#each'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Enumerable#filter_map'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:63:in 'Bundler::Resolver#setup_solver'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:28:in 'Bundler::Resolver#start'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:755:in 'Bundler::Definition#start_resolution'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:350:in 'Bundler::Definition#resolve'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:668:in 'Bundler::Definition#materialize'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:240:in 'Bundler::Definition#specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:312:in 'Bundler::Definition#specs_for'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/runtime.rb:18:in 'Bundler::Runtime#setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler.rb:165:in 'Bundler.setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in 'block in <top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:177:in 'Bundler::UI::Shell#with_level'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:122:in 'Bundler::UI::Shell#silence'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in '<top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in 'Kernel#require'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in '<top (required)>'
        from <internal:gem_prelude>:2:in '<internal:gem_prelude>'
E

Error:
AppGeneratorTest#test_app_update_generates_public_folders:
RuntimeError: Command failed with exit 1: bin/rails
    test/generators/generators_test_helper.rb:150:in 'Kernel#system'
    test/generators/generators_test_helper.rb:150:in 'block (2 levels) in GeneratorsTestHelper#run_app_update'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/stream.rb:11:in 'ActiveSupport::Testing::Stream#silence_stream'
    test/generators/generators_test_helper.rb:150:in 'block in GeneratorsTestHelper#run_app_update'
    test/generators/generators_test_helper.rb:145:in 'Dir.chdir'
    test/generators/generators_test_helper.rb:145:in 'GeneratorsTestHelper#run_app_update'
    test/generators/app_generator_test.rb:222:in 'AppGeneratorTest#test_app_update_generates_public_folders'

bin/test railties/test/generators/app_generator_test.rb:217

...../home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:356:in 'Bundler::Resolver#raise_not_found!': Could not find gems matching 'thruster' valid for all resolution platforms (aarch64-linux, arm64-darwin, x86_64-darwin, x86_64-linux) in locally installed gems. (Bundler::GemNotFound)

The source contains the following gems matching 'thruster':
  * thruster-0.1.10-x86_64-linux
  * thruster-0.1.16-x86_64-linux
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:450:in 'block in Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Hash#each'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Enumerable#filter_map'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:63:in 'Bundler::Resolver#setup_solver'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:28:in 'Bundler::Resolver#start'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:755:in 'Bundler::Definition#start_resolution'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:350:in 'Bundler::Definition#resolve'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:668:in 'Bundler::Definition#materialize'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:240:in 'Bundler::Definition#specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:312:in 'Bundler::Definition#specs_for'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/runtime.rb:18:in 'Bundler::Runtime#setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler.rb:165:in 'Bundler.setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in 'block in <top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:177:in 'Bundler::UI::Shell#with_level'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:122:in 'Bundler::UI::Shell#silence'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in '<top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in 'Kernel#require'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in '<top (required)>'
        from <internal:gem_prelude>:2:in '<internal:gem_prelude>'
E

Error:
AppGeneratorTest#test_app_update_does_not_generate_action_cable_contents_when_skip_action_cable_is_given:
RuntimeError: Command failed with exit 1: bin/rails
    test/generators/generators_test_helper.rb:150:in 'Kernel#system'
    test/generators/generators_test_helper.rb:150:in 'block (2 levels) in GeneratorsTestHelper#run_app_update'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/stream.rb:11:in 'ActiveSupport::Testing::Stream#silence_stream'
    test/generators/generators_test_helper.rb:150:in 'block in GeneratorsTestHelper#run_app_update'
    test/generators/generators_test_helper.rb:145:in 'Dir.chdir'
    test/generators/generators_test_helper.rb:145:in 'GeneratorsTestHelper#run_app_update'
    test/generators/app_generator_test.rb:236:in 'AppGeneratorTest#test_app_update_does_not_generate_action_cable_contents_when_skip_action_cable_is_given'

bin/test railties/test/generators/app_generator_test.rb:234

......../home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:356:in 'Bundler::Resolver#raise_not_found!': Could not find gems matching 'thruster' valid for all resolution platforms (aarch64-linux, arm64-darwin, x86_64-darwin, x86_64-linux) in locally installed gems. (Bundler::GemNotFound)

The source contains the following gems matching 'thruster':
  * thruster-0.1.10-x86_64-linux
  * thruster-0.1.16-x86_64-linux
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:450:in 'block in Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Hash#each'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Enumerable#filter_map'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:63:in 'Bundler::Resolver#setup_solver'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:28:in 'Bundler::Resolver#start'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:755:in 'Bundler::Definition#start_resolution'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:350:in 'Bundler::Definition#resolve'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:668:in 'Bundler::Definition#materialize'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:240:in 'Bundler::Definition#specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:312:in 'Bundler::Definition#specs_for'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/runtime.rb:18:in 'Bundler::Runtime#setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler.rb:165:in 'Bundler.setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in 'block in <top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:177:in 'Bundler::UI::Shell#with_level'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:122:in 'Bundler::UI::Shell#silence'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in '<top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in 'Kernel#require'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in '<top (required)>'
        from <internal:gem_prelude>:2:in '<internal:gem_prelude>'
E

Error:
AppGeneratorTest#test_app_update_preserves_skip_system_test:
RuntimeError: Command failed with exit 1: bin/rails
    test/generators/generators_test_helper.rb:150:in 'Kernel#system'
    test/generators/generators_test_helper.rb:150:in 'block (2 levels) in GeneratorsTestHelper#run_app_update'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/stream.rb:11:in 'ActiveSupport::Testing::Stream#silence_stream'
    test/generators/generators_test_helper.rb:150:in 'block in GeneratorsTestHelper#run_app_update'
    test/generators/generators_test_helper.rb:145:in 'Dir.chdir'
    test/generators/generators_test_helper.rb:145:in 'GeneratorsTestHelper#run_app_update'
    test/generators/app_generator_test.rb:347:in 'block (2 levels) in AppGeneratorTest#test_app_update_preserves_skip_system_test'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/assertions.rb:49:in 'ActiveSupport::Testing::Assertions#assert_nothing_raised'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/assertions.rb:315:in 'ActiveSupport::Testing::Assertions#_assert_nothing_raised_or_warn'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/assertions.rb:284:in 'ActiveSupport::Testing::Assertions#assert_no_changes'
    test/generators/app_generator_test.rb:346:in 'block in AppGeneratorTest#test_app_update_preserves_skip_system_test'
    /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/fileutils.rb:241:in 'Dir.chdir'
    /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/fileutils.rb:241:in 'FileUtils.cd'
    test/generators/app_generator_test.rb:343:in 'AppGeneratorTest#test_app_update_preserves_skip_system_test'

bin/test railties/test/generators/app_generator_test.rb:340

..../home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/git/git_proxy.rb:367:in 'Bundler::Source::Git::GitProxy#allowed_with_path': The git source https://github.com/rack/rack.git is not yet checked out. Please run `bundle install` before trying to start your application (Bundler::GitError)
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/git/git_proxy.rb:78:in 'Bundler::Source::Git::GitProxy#revision'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/git.rb:253:in 'Bundler::Source::Git#revision'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/git.rb:130:in 'Bundler::Source::Git#install_path'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/path.rb:125:in 'Bundler::Source::Path#expanded_path'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/path.rb:162:in 'Bundler::Source::Path#load_spec_files'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/git.rb:230:in 'Bundler::Source::Git#load_spec_files'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/path.rb:99:in 'Bundler::Source::Path#local_specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source/git.rb:198:in 'Bundler::Source::Git#specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source.rb:62:in 'Bundler::Source#spec_names'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source_map.rb:21:in 'block in Bundler::SourceMap#all_requirements'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source_map.rb:20:in 'Array#map'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/source_map.rb:20:in 'Bundler::SourceMap#all_requirements'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:1129:in 'Bundler::Definition#find_source_requirements'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:1105:in 'Bundler::Definition#source_requirements'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:1227:in 'Bundler::Definition#new_resolution_base'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:655:in 'Bundler::Definition#resolution_base'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:637:in 'Bundler::Definition#resolver'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:755:in 'Bundler::Definition#start_resolution'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:350:in 'Bundler::Definition#resolve'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:668:in 'Bundler::Definition#materialize'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:240:in 'Bundler::Definition#specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:312:in 'Bundler::Definition#specs_for'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/runtime.rb:18:in 'Bundler::Runtime#setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler.rb:165:in 'Bundler.setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in 'block in <top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:177:in 'Bundler::UI::Shell#with_level'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:122:in 'Bundler::UI::Shell#silence'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in '<top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in 'Kernel#require'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in '<top (required)>'
        from <internal:gem_prelude>:2:in '<internal:gem_prelude>'
F

Failure:
AppGeneratorTest#test_application_new_exits_with_message_and_non_zero_code_when_generating_inside_existing_rails_directory [test/generators/app_generator_test.rb:143]:
--- expected
+++ actual
@@ -1,3 +1 @@
-"Can't initialize a new Rails application within the directory of another, please change to a non-Rails directory first.
-Type 'rails' for help.
-"
+""

bin/test railties/test/generators/app_generator_test.rb:137

/home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:356:in 'Bundler::Resolver#raise_not_found!': Could not find gems matching 'thruster' valid for all resolution platforms (aarch64-linux, arm64-darwin, x86_64-darwin, x86_64-linux) in locally installed gems. (Bundler::GemNotFound)

The source contains the following gems matching 'thruster':
  * thruster-0.1.10-x86_64-linux
  * thruster-0.1.16-x86_64-linux
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:450:in 'block in Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Hash#each'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Enumerable#filter_map'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:425:in 'Bundler::Resolver#prepare_dependencies'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:63:in 'Bundler::Resolver#setup_solver'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:28:in 'Bundler::Resolver#start'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:755:in 'Bundler::Definition#start_resolution'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:350:in 'Bundler::Definition#resolve'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:668:in 'Bundler::Definition#materialize'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:240:in 'Bundler::Definition#specs'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/definition.rb:312:in 'Bundler::Definition#specs_for'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/runtime.rb:18:in 'Bundler::Runtime#setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler.rb:165:in 'Bundler.setup'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in 'block in <top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:177:in 'Bundler::UI::Shell#with_level'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/ui/shell.rb:122:in 'Bundler::UI::Shell#silence'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/setup.rb:32:in '<top (required)>'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in 'Kernel#require'
        from /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/rubygems.rb:1454:in '<top (required)>'
        from <internal:gem_prelude>:2:in '<internal:gem_prelude>'
E

Error:
AppGeneratorTest#test_application_name_is_detected_if_it_exists_and_app_folder_renamed:
RuntimeError: Command failed with exit 1: bin/rails
    test/generators/generators_test_helper.rb:150:in 'Kernel#system'
    test/generators/generators_test_helper.rb:150:in 'block (2 levels) in GeneratorsTestHelper#run_app_update'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/stream.rb:11:in 'ActiveSupport::Testing::Stream#silence_stream'
    test/generators/generators_test_helper.rb:150:in 'block in GeneratorsTestHelper#run_app_update'
    test/generators/generators_test_helper.rb:145:in 'Dir.chdir'
    test/generators/generators_test_helper.rb:145:in 'GeneratorsTestHelper#run_app_update'
    test/generators/app_generator_test.rb:162:in 'AppGeneratorTest#test_application_name_is_detected_if_it_exists_and_app_folder_renamed'

bin/test railties/test/generators/app_generator_test.rb:156

E

Error:
AppGeneratorTest#test_app_update_silence_deprecate_message:
RuntimeError: Command failed with exit 1: bin/rails
    test/generators/generators_test_helper.rb:150:in 'Kernel#system'
    test/generators/generators_test_helper.rb:150:in 'block (2 levels) in GeneratorsTestHelper#run_app_update'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/stream.rb:11:in 'ActiveSupport::Testing::Stream#silence_stream'
    test/generators/generators_test_helper.rb:150:in 'block in GeneratorsTestHelper#run_app_update'
    test/generators/generators_test_helper.rb:145:in 'Dir.chdir'
    test/generators/generators_test_helper.rb:145:in 'GeneratorsTestHelper#run_app_update'
    test/generators/app_generator_test.rb:399:in 'block (2 levels) in AppGeneratorTest#test_app_update_silence_deprecate_message'
    /home/zzak/code/rails/activesupport/lib/active_support/testing/stream.rb:30:in 'ActiveSupport::Testing::Stream#capture'
    test/generators/app_generator_test.rb:399:in 'block in AppGeneratorTest#test_app_update_silence_deprecate_message'
    /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/fileutils.rb:241:in 'Dir.chdir'
    /home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/fileutils.rb:241:in 'FileUtils.cd'
    test/generators/app_generator_test.rb:394:in 'AppGeneratorTest#test_app_update_silence_deprecate_message'

bin/test railties/test/generators/app_generator_test.rb:391

......./home/zzak/.rbenv/versions/4.0.0/lib/ruby/4.0.0+0/bundler/resolver.rb:356:in 'Bundler::Resolver#raise_not_found!': Could not find gems matching 'thruster' valid for all resolution platforms (aarch64-linux, arm64-darwin, x86_64-darwin, x86_64-linux) in locally installed gems. (Bundler::GemNotFoun…
@yahonda yahonda merged commit c397e50 into rails:main Dec 3, 2025
4 checks passed
yahonda added a commit to yahonda/rails that referenced this pull request Dec 3, 2025
Use Bundler.with_unbundled_env for GeneratorsTestHelper run_app_update
yahonda added a commit to yahonda/rails that referenced this pull request Dec 3, 2025
Use Bundler.with_unbundled_env for GeneratorsTestHelper run_app_update
@zzak zzak deleted the re-56271 branch December 3, 2025 01:59
@yahonda

yahonda commented Dec 3, 2025

Copy link
Copy Markdown
Member

Backported to supported branches as follows.

8-1-stable via f29c8e8
8-0-stable via db47fc4

It does not reproduce against 7-2-stable.

yahonda added a commit to yahonda/rails that referenced this pull request Dec 9, 2025
Use Bundler.with_unbundled_env for GeneratorsTestHelper run_app_update
@yahonda yahonda mentioned this pull request Dec 9, 2025
4 tasks
@yahonda

yahonda commented Dec 9, 2025

Copy link
Copy Markdown
Member

Opened #56331 to back port this change to 7-2-stable branch because it stars failing.

It does not reproduce against 7-2-stable.

yahonda added a commit that referenced this pull request Dec 9, 2025
byroot pushed a commit that referenced this pull request Mar 17, 2026
Use Bundler.with_unbundled_env for GeneratorsTestHelper run_app_update
byroot pushed a commit that referenced this pull request Mar 17, 2026
Use Bundler.with_unbundled_env for GeneratorsTestHelper run_app_update
byroot pushed a commit that referenced this pull request Mar 17, 2026
Use Bundler.with_unbundled_env for GeneratorsTestHelper run_app_update
byroot pushed a commit that referenced this pull request Mar 17, 2026
Use Bundler.with_unbundled_env for GeneratorsTestHelper run_app_update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AppGeneratorTest fails only when RACK=head

2 participants