Estoy creando un proyecto en rails 7.1.3, y nada más al configurar mi base de datos postgres en el archivo /config/database.yml y ejecutar rails server me da el siguiente error: ``` #<Thread:0x00005648c3de4e20@puma srv tp 002 /home/jesusdicen/.rvm/gems/ruby-3.0.0/gems/puma-6.4.2/lib/puma/thread_pool.rb:113 sleep> terminated with exception (report_on_exception is true): /home/jesusdicen/.rvm/gems/ruby-3.0.0/gems/activerecord-7.1.3/lib/active_record/migration.rb:641:in `synchronize': machine stack overflow in critical region (fatal) #<Thread:0x00005648c3de5280@puma srv tp 001 /home/jesusdicen/.rvm/gems/ruby-3.0.0/gems/puma-6.4.2/lib/puma/thread_pool.rb:113 sleep> terminated with exception (report_on_exception is true): /home/jesusdicen/.rvm/gems/ruby-3.0.0/gems/activerecord-7.1.3/lib/active_record/migration.rb:641:in `synchronize': machine stack overflow in critical region (fatal) ``` Este es mi archivo gemfile: ``` source "https://rubygems.org" ruby "3.0.0" # Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main" gem "rails", "~> 7.1.3" # Use postgresql as the database for Active Record gem "pg", "~> 1.1" # Use the Puma web server [https://github.com/puma/puma] gem "puma", ">= 5.0" # Build JSON APIs with ease [https://github.com/rails/jbuilder] # gem "jbuilder" # Use Redis adapter to run Action Cable in production # gem "redis", ">= 4.0.1" # Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis] # gem "kredis" # Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword] # gem "bcrypt", "~> 3.1.7" # Windows does not include zoneinfo files, so bundle the tzinfo-data gem gem "tzinfo-data", platforms: %i[ mswin mswin64 mingw x64_mingw jruby ] # Reduces boot times through caching; required in config/boot.rb gem "bootsnap", require: false # Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images] # gem "image_processing", "~> 1.2" # Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin Ajax possible # gem "rack-cors" group :development, :test do # See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem gem "debug", platforms: %i[ mri mswin mswin64 mingw x64_mingw ] end group :development do # Speed up commands on slow machines / big apps [https://github.com/rails/spring] # gem "spring" end ``` Este es mi archive Gemfile.lock ``` GEM remote: https://rubygems.org/ specs: actioncable (7.1.3) actionpack (= 7.1.3) activesupport (= 7.1.3) nio4r (~> 2.0) websocket-driver (>= 0.6.1) zeitwerk (~> 2.6) actionmailbox (7.1.3) actionpack (= 7.1.3) activejob (= 7.1.3) activerecord (= 7.1.3) activestorage (= 7.1.3) activesupport (= 7.1.3) mail (>= 2.7.1) net-imap net-pop net-smtp actionmailer (7.1.3) actionpack (= 7.1.3) actionview (= 7.1.3) activejob (= 7.1.3) activesupport (= 7.1.3) mail (~> 2.5, >= 2.5.4) net-imap net-pop net-smtp rails-dom-testing (~> 2.2) actionpack (7.1.3) actionview (= 7.1.3) activesupport (= 7.1.3) nokogiri (>= 1.8.5) racc rack (>= 2.2.4) rack-session (>= 1.0.1) rack-test (>= 0.6.3) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) actiontext (7.1.3) actionpack (= 7.1.3) activerecord (= 7.1.3) activestorage (= 7.1.3) activesupport (= 7.1.3) globalid (>= 0.6.0) nokogiri (>= 1.8.5) actionview (7.1.3) activesupport (= 7.1.3) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) activejob (7.1.3) activesupport (= 7.1.3) globalid (>= 0.3.6) activemodel (7.1.3) activesupport (= 7.1.3) activerecord (7.1.3) activemodel (= 7.1.3) activesupport (= 7.1.3) timeout (>= 0.4.0) activestorage (7.1.3) actionpack (= 7.1.3) activejob (= 7.1.3) activerecord (= 7.1.3) activesupport (= 7.1.3) marcel (~> 1.0) activesupport (7.1.3) base64 bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) minitest (>= 5.1) mutex_m tzinfo (~> 2.0) base64 (0.2.0) bigdecimal (3.1.6) bootsnap (1.18.3) msgpack (~> 1.2) builder (3.2.4) concurrent-ruby (1.2.3) connection_pool (2.4.1) crass (1.0.6) date (3.3.4) debug (1.9.1) irb (~> 1.10) reline (>= 0.3.8) drb (2.2.0) ruby2_keywords erubi (1.12.0) globalid (1.2.1) activesupport (>= 6.1) i18n (1.14.1) concurrent-ruby (~> 1.0) io-console (0.7.2) irb (1.11.2) rdoc reline (>= 0.4.2) loofah (2.22.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) mail (2.8.1) mini_mime (>= 0.1.1) net-imap net-pop net-smtp marcel (1.0.2) mini_mime (1.1.5) minitest (5.22.2) msgpack (1.7.2) mutex_m (0.2.0) net-imap (0.4.10) date net-protocol net-pop (0.1.2) net-protocol net-protocol (0.2.2) timeout net-smtp (0.4.0.1) net-protocol nio4r (2.7.0) nokogiri (1.16.2-x86_64-linux) racc (~> 1.4) pg (1.5.4) psych (5.1.2) stringio puma (6.4.2) nio4r (~> 2.0) racc (1.7.3) rack (3.0.9) rack-session (2.0.0) rack (>= 3.0.0) rack-test (2.1.0) rack (>= 1.3) rackup (2.1.0) rack (>= 3) webrick (~> 1.8) rails (7.1.3) actioncable (= 7.1.3) actionmailbox (= 7.1.3) actionmailer (= 7.1.3) actionpack (= 7.1.3) actiontext (= 7.1.3) actionview (= 7.1.3) activejob (= 7.1.3) activemodel (= 7.1.3) activerecord (= 7.1.3) activestorage (= 7.1.3) activesupport (= 7.1.3) bundler (>= 1.15.0) railties (= 7.1.3) rails-dom-testing (2.2.0) activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) rails-html-sanitizer (1.6.0) loofah (~> 2.21) nokogiri (~> 1.14) railties (7.1.3) actionpack (= 7.1.3) activesupport (= 7.1.3) irb rackup (>= 1.0.0) rake (>= 12.2) thor (~> 1.0, >= 1.2.2) zeitwerk (~> 2.6) rake (13.1.0) rdoc (6.6.2) psych (>= 4.0.0) reline (0.4.2) io-console (~> 0.5) ruby2_keywords (0.0.5) stringio (3.1.0) thor (1.3.0) timeout (0.4.1) tzinfo (2.0.6) concurrent-ruby (~> 1.0) webrick (1.8.1) websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) zeitwerk (2.6.13) PLATFORMS x86_64-linux DEPENDENCIES bootsnap debug pg (~> 1.1) puma (>= 5.0) rails (~> 7.1.3) tzinfo-data RUBY VERSION ruby 3.0.0p0 BUNDLED WITH 2.2.3 ``` Estoy usando Ubuntu 23.10