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 :
root@DESKTOP-MI3GRH3:/mnt/c/bckp/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 method
action_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 :
root@DESKTOP-MI3GRH3:/mnt/c/bckp/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
^
from /mnt/c/bckp/Railsapp/scheduled_tweets_flash - Signup/config/application.rb:3:in <main>'
require'
from <internal:/root/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in
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'
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:in
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!'
require_application_and_environment!'
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:in
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'
run'
from /root/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/thor-1.2.2/lib/thor/command.rb:27:in
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'
dispatch'
from /root/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/thor-1.2.2/lib/thor.rb:392:in
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'
invoke'
from /root/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/railties-7.0.7/lib/rails/command.rb:48:in
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>'
require'
from <internal:/root/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in
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'
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:in
from bin/rails:4:in `
Can someone help as i may need to access and start work asap , thank you.