Project

General

Profile

Redmine ver 5.0.4

Added by Phuong Le about 2 years ago

Hi Everyone,
I build Redmine via Windows Systems but in step 9 (Test the installation)
In step Start Server Webrick have failed with the message as below:
Traceback (most recent call last):
8: from bin/rails:4:in `<main>'
7: from bin/rails:4:in `require'
6: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/railties-6.1.7/lib/rails/commands.rb:18:in `<top (required)>'
5: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/railties-6.1.7/lib/rails/command.rb:48:in `invoke'
4: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/railties-6.1.7/lib/rails/command/base.rb:69:in `perform'
3: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
2: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
1: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
C:/Ruby27/lib/ruby/gems/2.7.0/gems/railties-6.1.7/lib/rails/commands/server/server_command.rb:130:in `perform': wrong number of arguments (given 1, expected 0) (ArgumentError)
9: from bin/rails:4:in `<main>'
8: from bin/rails:4:in `require'
7: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/railties-6.1.7/lib/rails/commands.rb:18:in `<top (required)>'
6: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/railties-6.1.7/lib/rails/command.rb:48:in `invoke'
5: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/railties-6.1.7/lib/rails/command/base.rb:69:in `perform'
4: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
3: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
2: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor/command.rb:20:in `run'
1: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor/command.rb:34:in `rescue in run'
C:/Ruby27/lib/ruby/gems/2.7.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]"*

My Ruby version: ruby 2.7.7p221 (2022-11-24 revision 168ec2b1e5) [x64-mingw32]
My Rails version: Rails 6.1.7

Note: With ruby and rails version like that, i build Redmine version 4.2.9 successfully but failed in version 5.0.4