Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeated Issue When I Run "rails server" #180

Open
MicroRay620 opened this issue Feb 23, 2024 · 0 comments
Open

Repeated Issue When I Run "rails server" #180

MicroRay620 opened this issue Feb 23, 2024 · 0 comments

Comments

@MicroRay620
Copy link

I keep on getting this output when I try to run rails server

C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/dartsass-sprockets-3.1.0/lib/sassc/rails/version.rb:5: warning: previous definition of VERSION was here
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/sassc-rails-2.1.2/lib/sassc/rails/importer.rb:75: warning: already initialized constant SassC::Rails::Importer::EXTENSIONS
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/dartsass-sprockets-3.1.0/lib/sassc/rails/importer.rb:75: warning: previous definition of EXTENSIONS was here
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/sassc-rails-2.1.2/lib/sassc/rails/importer.rb:86: warning: already initialized constant SassC::Rails::Importer::PREFIXS
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/dartsass-sprockets-3.1.0/lib/sassc/rails/importer.rb:86: warning: previous definition of PREFIXS was here
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/sassc-rails-2.1.2/lib/sassc/rails/importer.rb:87: warning: already initialized constant SassC::Rails::Importer::GLOB
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/dartsass-sprockets-3.1.0/lib/sassc/rails/importer.rb:87: warning: previous definition of GLOB was here
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/railties-7.1.3.2/lib/rails/railtie/configuration.rb:109:in `method_missing': undefined method `initializers' for #<Rails::Application::Configuration:0x00000000002058> (NoMethodError)
        from C:/Users/MicroRay/Desktop/BookGarden/config/application.rb:13:in `<class:Application>'
        from C:/Users/MicroRay/Desktop/BookGarden/config/application.rb:10:in `<module:BookGarden>'
        from C:/Users/MicroRay/Desktop/BookGarden/config/application.rb:9:in `<main>'
        from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
        from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/railties-7.1.3.2/lib/rails/commands/server/server_command.rb:139:in `block in perform'
        from <internal:kernel>:90:in `tap'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/railties-7.1.3.2/lib/rails/commands/server/server_command.rb:136:in `perform'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/thor-1.3.0/lib/thor/command.rb:28:in `run'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/thor-1.3.0/lib/thor/invocation.rb:127:in `invoke_command'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/railties-7.1.3.2/lib/rails/command/base.rb:178:in `invoke_command'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/thor-1.3.0/lib/thor.rb:527:in `dispatch'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/railties-7.1.3.2/lib/rails/command/base.rb:73:in `perform'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/railties-7.1.3.2/lib/rails/command.rb:71:in `block in invoke'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/railties-7.1.3.2/lib/rails/command.rb:149:in `with_argv'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/railties-7.1.3.2/lib/rails/command.rb:69:in `invoke'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/railties-7.1.3.2/lib/rails/commands.rb:18:in `<main>'
        from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
        from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
        from bin/rails:4:in `<main>'```
Tried multiple solutions and I still keep getting that result
I am using Windows 10 and running Ruby 7.1.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant