Nwbie here. After following some guides to install and setup Ruby on Rails I have the following error when opening the server in the browser.
Guides:
- https://www.youtube.com/watch?v=fmyvWz5TUWg&t=1567s&ab_channel=freeCodeCamp.org
- https://guides.rubyonrails.org/getting_started.html
Im using these versions
- Ubuntu: 20.04.03 LTS
- Ruby: 3.0.3
- Rails: 7.0.2.1
- SQLite3: 3.31.1
- Node: 16.13.2
- Yarn 1.22.17
Puma caught this error: undefined local variable or method
state' for ActiveSupport::IsolatedExecutionState:Module (NameError) /home/matias/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/activesupport-7.0.2.1/lib/active_support/isolated_execution_state.rb:45:indelete' /home/matias/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/activesupport-7.0.2.1/lib/active_support/execution_wrapper.rb:69:inrun!' /home/matias/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/actionpack-7.0.2.1/lib/action_dispatch/middleware/executor.rb:12:incall' /home/matias/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/actionpack-7.0.2.1/lib/action_dispatch/middleware/static.rb:23:incall' /home/matias/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:incall' /home/matias/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/actionpack-7.0.2.1/lib/action_dispatch/middleware/host_authorization.rb:137:incall' /home/matias/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/railties-7.0.2.1/lib/rails/engine.rb:530:incall' /home/matias/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/puma-5.6.1/lib/puma/configuration.rb:252:incall' /home/matias/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/puma-5.6.1/lib/puma/request.rb:77:inblock in handle_request' /home/matias/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/puma-5.6.1/lib/puma/thread_pool.rb:340:inwith_force_shutdown' /home/matias/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/puma-5.6.1/lib/puma/request.rb:76:inhandle_request' /home/matias/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/puma-5.6.1/lib/puma/server.rb:441:inprocess_client' /home/matias/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/puma-5.6.1/lib/puma/thread_pool.rb:147:inblock in spawn_thread'
I have no clue whats going on, also couldnt find any related topic here. Tried to re-install everything and with different versions, same error
Thank you in advance