We can reproduce this by just running

rails new foo

$ rails new foo
     create
     create README.md
     create Rakefile
     create .ruby-version
     create config.ru
     create .gitignore
     create Gemfile
        run git init from "."
Initialized empty Git repository in /tmp/foo/.git/
     create package.json
     create app
     create app/assets/config/manifest.js
     create app/assets/stylesheets/application.css
     create app/channels/application_cable/channel.rb
     create app/channels/application_cable/connection.rb
     create app/controllers/application_controller.rb
     create app/helpers/application_helper.rb
     create app/javascript/channels/consumer.js
     create app/javascript/channels/index.js
     create app/javascript/packs/application.js
     create app/jobs/application_job.rb
     create app/mailers/application_mailer.rb
     create app/models/application_record.rb
     create app/views/layouts/application.html.erb
     create app/views/layouts/mailer.html.erb
     create app/views/layouts/mailer.text.erb
     create app/assets/images
     create app/assets/images/.keep
     create app/controllers/concerns/.keep
     create app/models/concerns/.keep
     create bin
     create bin/rails
     create bin/rake
     create bin/setup
     create bin/yarn
     create config
     create config/routes.rb
     create config/application.rb
     create config/environment.rb
     create config/cable.yml
     create config/puma.rb
     create config/spring.rb
     create config/storage.yml
     create config/environments
     create config/environments/development.rb
     create config/environments/production.rb
     create config/environments/test.rb
     create config/initializers
     create config/initializers/application_controller_renderer.rb
     create config/initializers/assets.rb
     create config/initializers/backtrace_silencers.rb
     create config/initializers/content_security_policy.rb
     create config/initializers/cookies_serializer.rb
     create config/initializers/cors.rb
     create config/initializers/filter_parameter_logging.rb
     create config/initializers/inflections.rb
     create config/initializers/mime_types.rb
     create config/initializers/new_framework_defaults_6_0.rb
     create config/initializers/wrap_parameters.rb
     create config/locales
     create config/locales/en.yml
     create config/master.key
     append .gitignore
     create config/boot.rb
     create config/database.yml
     create db
     create db/seeds.rb
     create lib
     create lib/tasks
     create lib/tasks/.keep
     create lib/assets
     create lib/assets/.keep
     create log
     create log/.keep
     create public
     create public/404.html
     create public/422.html
     create public/500.html
     create public/apple-touch-icon-precomposed.png
     create public/apple-touch-icon.png
     create public/favicon.ico
     create public/robots.txt
     create tmp
     create tmp/.keep
     create tmp/pids
     create tmp/pids/.keep
     create tmp/cache
     create tmp/cache/assets
     create vendor
     create vendor/.keep
     create test/fixtures
     create test/fixtures/.keep
     create test/fixtures/files
     create test/fixtures/files/.keep
     create test/controllers
     create test/controllers/.keep
     create test/mailers
     create test/mailers/.keep
     create test/models
     create test/models/.keep
     create test/helpers
     create test/helpers/.keep
     create test/integration
     create test/integration/.keep
     create test/channels/application_cable/connection_test.rb
     create test/test_helper.rb
     create test/system
     create test/system/.keep
     create test/application_system_test_case.rb
     create storage
     create storage/.keep
     create tmp/storage
     create tmp/storage/.keep
     remove config/initializers/cors.rb
     remove config/initializers/new_framework_defaults_6_0.rb
        run bundle install --local
Traceback (most recent call last):
26: from /usr/bin/rails:23:in `<main>'
25: from /usr/bin/rails:23:in `load'
24: from /usr/share/rubygems-integration/all/gems/railties-6.0.3.2/exe/rails:10:in `<top (required)>' 23: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in `require' 22: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in `require' 21: from /usr/share/rubygems-integration/all/gems/railties-6.0.3.2/lib/rails/cli.rb:18:in `<top (required)>' 20: from /usr/share/rubygems-integration/all/gems/railties-6.0.3.2/lib/rails/command.rb:46:in `invoke' 19: from /usr/share/rubygems-integration/all/gems/railties-6.0.3.2/lib/rails/command/base.rb:69:in `perform'
18: from /usr/lib/ruby/vendor_ruby/thor.rb:387:in `dispatch'
17: from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:126:in `invoke_command'
16: from /usr/lib/ruby/vendor_ruby/thor/command.rb:27:in `run'
15: from /usr/share/rubygems-integration/all/gems/railties-6.0.3.2/lib/rails/commands/application/application_command.rb:26:in `perform'
14: from /usr/lib/ruby/vendor_ruby/thor/base.rb:466:in `start'
13: from /usr/lib/ruby/vendor_ruby/thor/group.rb:232:in `dispatch'
12: from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:133:in `invoke_all'
11: from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:133:in `map'
10: from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:133:in `each'
9: from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:133:in `block in invoke_all' 8: from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:126:in `invoke_command'
 7: from /usr/lib/ruby/vendor_ruby/thor/command.rb:27:in `run'
 6: from (eval):1:in `run_bundle'
5: from /usr/share/rubygems-integration/all/gems/railties-6.0.3.2/lib/rails/generators/app_base.rb:406:in `run_bundle' 4: from /usr/share/rubygems-integration/all/gems/railties-6.0.3.2/lib/rails/generators/app_base.rb:363:in `bundle_command'
 3: from /usr/lib/ruby/2.7.0/bundler.rb:364:in `with_original_env'
 2: from /usr/lib/ruby/2.7.0/bundler.rb:677:in `with_env'
1: from /usr/lib/ruby/2.7.0/bundler.rb:364:in `block in with_original_env' /usr/share/rubygems-integration/all/gems/railties-6.0.3.2/lib/rails/generators/app_base.rb:364:in `block in bundle_command': undefined local variable or method `_bundle_command' for #<Rails::Generators::AppGenerator:0x000055dc01c63148> (NameError)
Did you mean? bundle_command
              exec_bundle_command

Reply via email to