Issues with loading either rails s and rails c

Recently made some modification and created a new file onto controller, views, but as soon as try to load with rails s or rails c, error message from the (server side, rails :

/Railsapp/scheduled_tweets_flash - Signup# rails s => Booting Puma => Rails 7.0.7 application starting in development => Run bin/rails server --help for more startup options Exiting /root/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/railties-7.0.7/lib/rails/railtie/configuration.rb:96:in method_missing': undefined methodaction_controller’ for #, @generators=#, @middleware=#, @javascript_path=“javascript”, @encoding=#Encoding:UTF-8, @allow_concurrency=nil, @consider_all_requests_local=true, @filter_parameters=, @r_redirect=, @helpers_paths=, @hosts=[“.localhost”, #, #], @ho

As with the Rails Console :

Railsapp/scheduled_tweets_flash - Signup# rails c /mnt/c/bckp/Railsapp/scheduled_tweets_flash - Signup/config/application.rb:4:in `module:ScheduledTweets’: uninitialized constant Rails::Application (NameError)

class Application < Rails::Application

Railsapp/scheduled_tweets_flash - Signup/config/application.rb:3:in <main>'from <internal:/root/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:inrequire’ from internal:/root/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb:38:in require'from /root/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:inrequire’ from /root/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/railties-7.0.7/lib/rails/command/actions.rb:22:in require_application!'from /root/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/railties-7.0.7/lib/rails/command/actions.rb:14:inrequire_application_and_environment!’ from /root/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/railties-7.0.7/lib/rails/commands/console/console_command.rb:105:in perform'from /root/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/thor-1.2.2/lib/thor/command.rb:27:inrun’ from /root/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/thor-1.2.2/lib/thor/invocation.rb:127:in invoke_command'from /root/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/thor-1.2.2/lib/thor.rb:392:indispatch’ from /root/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/railties-7.0.7/lib/rails/command/base.rb:87:in perform'from /root/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/railties-7.0.7/lib/rails/command.rb:48:ininvoke’ from /root/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/railties-7.0.7/lib/rails/commands.rb:18:in <main>'from <internal:/root/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:inrequire’ from internal:/root/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb:38:in require'from /root/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:inrequire’ from bin/rails:4:in `’

Can someone help as i may need to access and start work asap , thank you.