Issues with new project and running /bin/dev

Hi. Im running an Apple silicone M1 MacBook. I followed the installation instructions from the Rails 8 Docs which seemed to have worked with no issues. Any ideas on where i start? complete newb to rails …

When running rails new my_project I get the following errors:

     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/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_8_0.rb
         run  bundle install --quiet
Source rubygems repository https://rubygems.org/ or installed locally is ignoring #<Bundler::StubSpecification name=racc version=1.8.1 platform=ruby> because it is missing extensions
         run  bundle lock --add-platform=x86_64-linux
Writing lockfile to /Users/chrisbowen/Projects/Ruby/test_app/Gemfile.lock
         run  bundle lock --add-platform=aarch64-linux
Writing lockfile to /Users/chrisbowen/Projects/Ruby/test_app/Gemfile.lock
         run  bundle binstubs bundler
Source locally installed gems is ignoring #<Bundler::StubSpecification name=racc version=1.8.1 platform=ruby> because it is missing extensions
Bundler itself does not use binstubs because its version is selected by RubyGems
       rails  importmap:install
Source locally installed gems is ignoring #<Bundler::StubSpecification name=racc version=1.8.1 platform=ruby> because it is missing extensions
bin/rails aborted!
Bundler::GemRequireError: There was an error while trying to load the gem 'debug/prelude'. (Bundler::GemRequireError)
Gem Load Error is: cannot load such file -- debug/prelude
Backtrace for gem load error is:
<internal:/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:37:in 'Kernel#require'
<internal:/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:37:in 'Kernel#require'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel.replace_require'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/zeitwerk-2.7.3/lib/zeitwerk/core_ext/kernel.rb:34:in 'Kernel.require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:63:in 'block (2 levels) in Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:58:in 'Array#each'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:58:in 'block in Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:52:in 'Array#each'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:52:in 'Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler.rb:214:in 'Bundler.require'
/Users/chrisbowen/Projects/Ruby/test_app/config/application.rb:7:in '<main>'
/Users/chrisbowen/Projects/Ruby/test_app/Rakefile:4:in 'Kernel#require_relative'
/Users/chrisbowen/Projects/Ruby/test_app/Rakefile:4:in '<main>'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/rake_module.rb:29:in 'Kernel#load'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/rake_module.rb:29:in 'Rake.load_rakefile'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/application.rb:740:in 'Rake::Application#raw_load_rakefile'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/application.rb:126:in 'block in Rake::Application#load_rakefile'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/application.rb:214:in 'Rake::Application#standard_exception_handling'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/application.rb:125:in 'Rake::Application#load_rakefile'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/commands/rake/rake_command.rb:43:in 'block in Rails::Command::RakeCommand.with_rake'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/rake_module.rb:59:in 'Rake.with_application'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/commands/rake/rake_command.rb:41:in 'Rails::Command::RakeCommand.with_rake'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/commands/rake/rake_command.rb:20:in 'Rails::Command::RakeCommand.perform'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/command.rb:150:in 'Rails::Command.invoke_rake'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/command.rb:67:in 'block in Rails::Command.invoke'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/command.rb:143:in 'Rails::Command.with_argv'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/command.rb:63:in 'Rails::Command.invoke'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/commands.rb:18:in '<main>'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/bootsnap-1.18.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in 'Kernel#require'
bin/rails:4:in '<main>'
Bundler Error Backtrace:
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:71:in 'block (2 levels) in Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:58:in 'Array#each'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:58:in 'block in Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:52:in 'Array#each'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:52:in 'Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler.rb:214:in 'Bundler.require'
/Users/chrisbowen/Projects/Ruby/test_app/config/application.rb:7:in '<main>'
/Users/chrisbowen/Projects/Ruby/test_app/Rakefile:4:in 'Kernel#require_relative'
/Users/chrisbowen/Projects/Ruby/test_app/Rakefile:4:in '<main>'
bin/rails:4:in '<main>'

Caused by:
LoadError: cannot load such file -- debug/prelude (LoadError)
<internal:/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:37:in 'Kernel#require'
<internal:/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:37:in 'Kernel#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:63:in 'block (2 levels) in Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:58:in 'Array#each'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:58:in 'block in Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:52:in 'Array#each'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:52:in 'Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler.rb:214:in 'Bundler.require'
/Users/chrisbowen/Projects/Ruby/test_app/config/application.rb:7:in '<main>'
/Users/chrisbowen/Projects/Ruby/test_app/Rakefile:4:in 'Kernel#require_relative'
/Users/chrisbowen/Projects/Ruby/test_app/Rakefile:4:in '<main>'
bin/rails:4:in '<main>'
(See full trace by running task with --trace)
       rails  turbo:install stimulus:install
Source locally installed gems is ignoring #<Bundler::StubSpecification name=racc version=1.8.1 platform=ruby> because it is missing extensions
bin/rails aborted!
Bundler::GemRequireError: There was an error while trying to load the gem 'debug/prelude'. (Bundler::GemRequireError)
Gem Load Error is: cannot load such file -- debug/prelude
Backtrace for gem load error is:
<internal:/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:37:in 'Kernel#require'
<internal:/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:37:in 'Kernel#require'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel.replace_require'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/zeitwerk-2.7.3/lib/zeitwerk/core_ext/kernel.rb:34:in 'Kernel.require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:63:in 'block (2 levels) in Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:58:in 'Array#each'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:58:in 'block in Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:52:in 'Array#each'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:52:in 'Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler.rb:214:in 'Bundler.require'
/Users/chrisbowen/Projects/Ruby/test_app/config/application.rb:7:in '<main>'
/Users/chrisbowen/Projects/Ruby/test_app/Rakefile:4:in 'Kernel#require_relative'
/Users/chrisbowen/Projects/Ruby/test_app/Rakefile:4:in '<main>'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/rake_module.rb:29:in 'Kernel#load'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/rake_module.rb:29:in 'Rake.load_rakefile'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/application.rb:740:in 'Rake::Application#raw_load_rakefile'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/application.rb:126:in 'block in Rake::Application#load_rakefile'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/application.rb:214:in 'Rake::Application#standard_exception_handling'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/application.rb:125:in 'Rake::Application#load_rakefile'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/commands/rake/rake_command.rb:43:in 'block in Rails::Command::RakeCommand.with_rake'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/rake_module.rb:59:in 'Rake.with_application'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/commands/rake/rake_command.rb:41:in 'Rails::Command::RakeCommand.with_rake'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/commands/rake/rake_command.rb:20:in 'Rails::Command::RakeCommand.perform'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/command.rb:150:in 'Rails::Command.invoke_rake'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/command.rb:67:in 'block in Rails::Command.invoke'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/command.rb:143:in 'Rails::Command.with_argv'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/command.rb:63:in 'Rails::Command.invoke'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/commands.rb:18:in '<main>'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/bootsnap-1.18.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in 'Kernel#require'
bin/rails:4:in '<main>'
Bundler Error Backtrace:
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:71:in 'block (2 levels) in Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:58:in 'Array#each'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:58:in 'block in Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:52:in 'Array#each'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:52:in 'Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler.rb:214:in 'Bundler.require'
/Users/chrisbowen/Projects/Ruby/test_app/config/application.rb:7:in '<main>'
/Users/chrisbowen/Projects/Ruby/test_app/Rakefile:4:in 'Kernel#require_relative'
/Users/chrisbowen/Projects/Ruby/test_app/Rakefile:4:in '<main>'
bin/rails:4:in '<main>'

Caused by:
LoadError: cannot load such file -- debug/prelude (LoadError)
<internal:/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:37:in 'Kernel#require'
<internal:/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:37:in 'Kernel#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:63:in 'block (2 levels) in Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:58:in 'Array#each'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:58:in 'block in Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:52:in 'Array#each'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:52:in 'Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler.rb:214:in 'Bundler.require'
/Users/chrisbowen/Projects/Ruby/test_app/config/application.rb:7:in '<main>'
/Users/chrisbowen/Projects/Ruby/test_app/Rakefile:4:in 'Kernel#require_relative'
/Users/chrisbowen/Projects/Ruby/test_app/Rakefile:4:in '<main>'
bin/rails:4:in '<main>'
(See full trace by running task with --trace)
         run  bundle binstubs kamal
Source locally installed gems is ignoring #<Bundler::StubSpecification name=racc version=1.8.1 platform=ruby> because it is missing extensions
         run  bundle exec kamal init
Source locally installed gems is ignoring #<Bundler::StubSpecification name=racc version=1.8.1 platform=ruby> because it is missing extensions
Created configuration file in config/deploy.yml
Created .kamal/secrets file
Created sample hooks in .kamal/hooks
       force  .kamal/secrets
       force  config/deploy.yml
       rails  solid_cache:install solid_queue:install solid_cable:install
Source locally installed gems is ignoring #<Bundler::StubSpecification name=racc version=1.8.1 platform=ruby> because it is missing extensions
bin/rails aborted!
Bundler::GemRequireError: There was an error while trying to load the gem 'debug/prelude'. (Bundler::GemRequireError)
Gem Load Error is: cannot load such file -- debug/prelude
Backtrace for gem load error is:
<internal:/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:37:in 'Kernel#require'
<internal:/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:37:in 'Kernel#require'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel.replace_require'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/zeitwerk-2.7.3/lib/zeitwerk/core_ext/kernel.rb:34:in 'Kernel.require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:63:in 'block (2 levels) in Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:58:in 'Array#each'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:58:in 'block in Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:52:in 'Array#each'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:52:in 'Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler.rb:214:in 'Bundler.require'
/Users/chrisbowen/Projects/Ruby/test_app/config/application.rb:7:in '<main>'
/Users/chrisbowen/Projects/Ruby/test_app/Rakefile:4:in 'Kernel#require_relative'
/Users/chrisbowen/Projects/Ruby/test_app/Rakefile:4:in '<main>'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/rake_module.rb:29:in 'Kernel#load'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/rake_module.rb:29:in 'Rake.load_rakefile'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/application.rb:740:in 'Rake::Application#raw_load_rakefile'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/application.rb:126:in 'block in Rake::Application#load_rakefile'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/application.rb:214:in 'Rake::Application#standard_exception_handling'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/application.rb:125:in 'Rake::Application#load_rakefile'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/commands/rake/rake_command.rb:43:in 'block in Rails::Command::RakeCommand.with_rake'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/rake-13.3.0/lib/rake/rake_module.rb:59:in 'Rake.with_application'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/commands/rake/rake_command.rb:41:in 'Rails::Command::RakeCommand.with_rake'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/commands/rake/rake_command.rb:20:in 'Rails::Command::RakeCommand.perform'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/command.rb:150:in 'Rails::Command.invoke_rake'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/command.rb:67:in 'block in Rails::Command.invoke'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/command.rb:143:in 'Rails::Command.with_argv'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/command.rb:63:in 'Rails::Command.invoke'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/commands.rb:18:in '<main>'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require'
/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/bootsnap-1.18.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in 'Kernel#require'
bin/rails:4:in '<main>'
Bundler Error Backtrace:
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:71:in 'block (2 levels) in Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:58:in 'Array#each'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:58:in 'block in Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:52:in 'Array#each'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:52:in 'Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler.rb:214:in 'Bundler.require'
/Users/chrisbowen/Projects/Ruby/test_app/config/application.rb:7:in '<main>'
/Users/chrisbowen/Projects/Ruby/test_app/Rakefile:4:in 'Kernel#require_relative'
/Users/chrisbowen/Projects/Ruby/test_app/Rakefile:4:in '<main>'
bin/rails:4:in '<main>'

Caused by:
LoadError: cannot load such file -- debug/prelude (LoadError)
<internal:/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:37:in 'Kernel#require'
<internal:/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:37:in 'Kernel#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:63:in 'block (2 levels) in Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:58:in 'Array#each'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:58:in 'block in Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:52:in 'Array#each'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler/runtime.rb:52:in 'Bundler::Runtime#require'
/opt/homebrew/Cellar/tmuxinator/3.3.4/libexec/gems/bundler-2.7.1/lib/bundler.rb:214:in 'Bundler.require'
/Users/chrisbowen/Projects/Ruby/test_app/config/application.rb:7:in '<main>'
/Users/chrisbowen/Projects/Ruby/test_app/Rakefile:4:in 'Kernel#require_relative'
/Users/chrisbowen/Projects/Ruby/test_app/Rakefile:4:in '<main>'
bin/rails:4:in '<main>'
(See full trace by running task with --trace)

I then install tailwindcss following the instructions:

./bin/bundle add tailwindcss-ruby
./bin/bundle add tailwindcss-rails
./bin/rails tailwindcss:install

When running bin/dev i then get this message:

bin/dev
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
19:29:43 web.1  | started with pid 5198
19:29:43 css.1  | started with pid 5199
19:29:43 css.1  | Source locally installed gems is ignoring #<Bundler::StubSpecification name=racc version=1.8.1 platform=ruby> because it is missing extensions
19:29:43 web.1  | Source locally installed gems is ignoring #<Bundler::StubSpecification name=racc version=1.8.1 platform=ruby> because it is missing extensions
19:29:43 css.1  | /Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundler/definition.rb:691:in 'Bundler::Definition#materialize': Could not find propshaft-1.2.1, importmap-rails-2.2.0, turbo-rails-2.0.16, stimulus-rails-1.3.4, jbuilder-2.13.0, solid_cache-1.0.7, solid_queue-1.2.1, solid_cable-3.0.11, kamal-2.7.0, brakeman-7.1.0, rubocop-rails-omakase-1.1.0, web-console-4.2.1, capybara-3.40.0, tailwindcss-ruby-4.1.11-arm64-darwin, tailwindcss-ruby-4.1.11, tailwindcss-rails-4.3.0, fugit-1.11.1, irb-1.15.2, racc-1.8.1, rubocop-1.79.0, rubocop-performance-1.25.0, rubocop-rails-2.32.0, xpath-3.2.0, rdoc-6.14.2, json-2.13.1, parser-3.3.9.0, rubocop-ast-1.46.0 in locally installed gems (Bundler::GemNotFound)
19:29:43 css.1  |       from /Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundler/definition.rb:237:in 'Bundler::Definition#specs'
19:29:43 web.1  | /Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundler/definition.rb:691:in 'Bundler::Definition#materialize': Could not find propshaft-1.2.1, importmap-rails-2.2.0, turbo-rails-2.0.16, stimulus-rails-1.3.4, jbuilder-2.13.0, solid_cache-1.0.7, solid_queue-1.2.1, solid_cable-3.0.11, kamal-2.7.0, brakeman-7.1.0, rubocop-rails-omakase-1.1.0, web-console-4.2.1, capybara-3.40.0, tailwindcss-ruby-4.1.11-arm64-darwin, tailwindcss-ruby-4.1.11, tailwindcss-rails-4.3.0, fugit-1.11.1, irb-1.15.2, racc-1.8.1, rubocop-1.79.0, rubocop-performance-1.25.0, rubocop-rails-2.32.0, xpath-3.2.0, rdoc-6.14.2, json-2.13.1, parser-3.3.9.0, rubocop-ast-1.46.0 in locally installed gems (Bundler::GemNotFound)
19:29:43 css.1  |       from /Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundler/definition.rb:304:in 'Bundler::Definition#specs_for'
19:29:43 web.1  |       from /Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundler/definition.rb:237:in 'Bundler::Definition#specs'
19:29:43 css.1  |       from /Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundler/runtime.rb:18:in 'Bundler::Runtime#setup'
19:29:43 web.1  |       from /Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundler/definition.rb:304:in 'Bundler::Definition#specs_for'
19:29:43 css.1  |       from /Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundler.rb:167:in 'Bundler.setup'
19:29:43 web.1  |       from /Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundler/runtime.rb:18:in 'Bundler::Runtime#setup'
19:29:43 css.1  |       from /Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundler/setup.rb:32:in 'block in <top (required)>'
19:29:43 web.1  |       from /Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundler.rb:167:in 'Bundler.setup'
19:29:43 css.1  |       from /Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundler/ui/shell.rb:173:in 'Bundler::UI::Shell#with_level'
19:29:43 web.1  |       from /Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundler/setup.rb:32:in 'block in <top (required)>'
19:29:43 css.1  |       from /Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundler/ui/shell.rb:119:in 'Bundler::UI::Shell#silence'
19:29:43 web.1  |       from /Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundler/ui/shell.rb:173:in 'Bundler::UI::Shell#with_level'
19:29:43 css.1  |       from /Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundler/setup.rb:32:in '<top (required)>'
19:29:43 web.1  |       from /Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundler/ui/shell.rb:119:in 'Bundler::UI::Shell#silence'
19:29:43 css.1  |       from <internal:/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
19:29:43 web.1  |       from /Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/bundler/setup.rb:32:in '<top (required)>'
19:29:43 css.1  |       from <internal:/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
19:29:43 web.1  |       from <internal:/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
19:29:43 css.1  |       from /Users/chrisbowen/Projects/Ruby/ExpostWebsite/config/boot.rb:3:in '<top (required)>'
19:29:43 web.1  |       from <internal:/Users/chrisbowen/.local/share/mise/installs/ruby/3.4.5/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
19:29:43 css.1  |       from bin/rails:3:in 'Kernel#require_relative'
19:29:43 web.1  |       from /Users/chrisbowen/Projects/Ruby/ExpostWebsite/config/boot.rb:3:in '<top (required)>'
19:29:43 css.1  |       from bin/rails:3:in '<main>'
19:29:43 web.1  |       from bin/rails:3:in 'Kernel#require_relative'
19:29:43 web.1  |       from bin/rails:3:in '<main>'
19:29:43 css.1  | exited with code 1
19:29:43 system | sending SIGTERM to all processes
19:29:43 web.1  | exited with code 1

Flipping nora!!!

I figured it out.. I went into the folder and ran bundle install --path and after that it all worked flawlessly…

What does the --path flag do different?

1 Like

From the bundler documentation:

--path=PATH The location to install the specified gems to. This defaults to Rubygems’ setting. Bundler shares this location with Rubygems, gem install ... will have gem installed there, too. Therefore, gems installed without a --path ... setting will show up by calling gem list. Accordingly, gems installed to other locations will not get listed.

My guess is that you have an issue with the global (default) rubygems/bundler configuration but when using the path option reduced the scope to only the gems listed on the Gemfile for that project.

1 Like