5.0 on Windows - Install problems w/ running webserver

Added by James H 2 months ago

Installing 5.0 or Upgrading from 3.X to 5.0 on windows

I tried
Ruby 2.7, get lots of small issues during the process, but after working around them I cannot get it to run on webrick or thin
Ruby 2.6, much less issues during the process, but same issues with webrick or thin.

D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.2.1/lib/thor/base.rb:525:in `handle_argument_error': ERROR: "rails server" was called with arguments ["webrick"] (Thor::InvocationError)
Usage: "rails server -u [thin/puma/webrick] [options]" 
        from D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.2.1/lib/thor/command.rb:34:in `rescue in run'
        from D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.2.1/lib/thor/command.rb:20:in `run'
        from D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
        from D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
        from D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-6.1.4.7/lib/rails/command/base.rb:69:in `perform'
        from D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-6.1.4.7/lib/rails/command.rb:48:in `invoke'
        from D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-6.1.4.7/lib/rails/commands.rb:18:in `<top (required)>'
        from bin/rails:4:in `require'
        from bin/rails:4:in `<main>'
D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-6.1.4.7/lib/rails/commands/server/server_command.rb:130:in `perform': wrong number of arguments (given 1, expected 0) (ArgumentError)
        from D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
        from D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
        from D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
        from D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-6.1.4.7/lib/rails/command/base.rb:69:in `perform'
        from D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-6.1.4.7/lib/rails/command.rb:48:in `invoke'
        from D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-6.1.4.7/lib/rails/commands.rb:18:in `<top (required)>'
        from bin/rails:4:in `require'
        from bin/rails:4:in `<main>'

any suggestions?