Project

General

Profile

Actions

Defect #44403

closed

db migrate error after upgrade to Redmine 7.0.1.devel.25030

Added by ChunChang (Nagaharu) Lo 24 days ago. Updated 22 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Ruby support
Target version:
-
Resolution:
Wont fix
Affected version:

Description

rake aborted!
SyntaxError:
/usr/local/rvm/gems/ruby-3.3.0/gems/actionview-8.1.3.1/lib/action_view/helpers/capture_helper.rb:50: anonymous rest parameter is also used within block (SyntaxError)
/usr/local/rvm/gems/ruby-3.3.0/gems/actionview-8.1.3.1/lib/action_view/helpers/capture_helper.rb:50: anonymous keyword rest parameter is also used within block
/usr/local/rvm/rubies/ruby-3.3.0/lib/ruby/3.3.0/bundled_gems.rb:74:in `require'
/usr/local/rvm/rubies/ruby-3.3.0/lib/ruby/3.3.0/bundled_gems.rb:74:in `block (2 levels) in replace_require'
/usr/local/rvm/gems/ruby-3.3.0/gems/zeitwerk-2.8.3/lib/zeitwerk/core_ext/kernel.rb:34:in `require'
/usr/local/rvm/gems/ruby-3.3.0/gems/actionview-8.1.3.1/lib/action_view/helpers.rb:4:in `<top (required)>'
/usr/local/rvm/rubies/ruby-3.3.0/lib/ruby/3.3.0/bundled_gems.rb:74:in `require'
/usr/local/rvm/rubies/ruby-3.3.0/lib/ruby/3.3.0/bundled_gems.rb:74:in `block (2 levels) in replace_require'
/usr/local/rvm/gems/ruby-3.3.0/gems/zeitwerk-2.8.3/lib/zeitwerk/core_ext/kernel.rb:34:in `require'
/usr/local/rvm/gems/ruby-3.3.0/gems/rbpdf-1.21.4/lib/rbpdf.rb:117:in `<class:RBPDF>'
/usr/local/rvm/gems/ruby-3.3.0/gems/rbpdf-1.21.4/lib/rbpdf.rb:116:in `<top (required)>'
<internal:/usr/local/rvm/rubies/ruby-3.3.0/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
<internal:/usr/local/rvm/rubies/ruby-3.3.0/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
/usr/local/rvm/rubies/ruby-3.3.0/lib/ruby/3.3.0/bundled_gems.rb:74:in `block (2 levels) in replace_require'
/usr/local/rvm/gems/ruby-3.3.0/gems/zeitwerk-2.8.3/lib/zeitwerk/core_ext/kernel.rb:34:in `require'
/usr/local/rvm/gems/ruby-3.3.0/gems/bundler-2.5.5/lib/bundler/runtime.rb:60:in `block (2 levels) in require'
/usr/local/rvm/gems/ruby-3.3.0/gems/bundler-2.5.5/lib/bundler/runtime.rb:55:in `each'
/usr/local/rvm/gems/ruby-3.3.0/gems/bundler-2.5.5/lib/bundler/runtime.rb:55:in `block in require'
/usr/local/rvm/gems/ruby-3.3.0/gems/bundler-2.5.5/lib/bundler/runtime.rb:44:in `each'
/usr/local/rvm/gems/ruby-3.3.0/gems/bundler-2.5.5/lib/bundler/runtime.rb:44:in `require'
/usr/local/rvm/gems/ruby-3.3.0/gems/bundler-2.5.5/lib/bundler.rb:187:in `require'
/var/www/html/redmine/config/application.rb:18:in `<top (required)>'
/usr/local/rvm/rubies/ruby-3.3.0/lib/ruby/3.3.0/bundled_gems.rb:74:in `require'
/usr/local/rvm/rubies/ruby-3.3.0/lib/ruby/3.3.0/bundled_gems.rb:74:in `block (2 levels) in replace_require'
/var/www/html/redmine/Rakefile:5:in `<top (required)>'
/usr/local/rvm/gems/ruby-3.3.0/gems/rake-13.4.2/lib/rake/rake_module.rb:29:in `load'
/usr/local/rvm/gems/ruby-3.3.0/gems/rake-13.4.2/lib/rake/rake_module.rb:29:in `load_rakefile'
/usr/local/rvm/gems/ruby-3.3.0/gems/rake-13.4.2/lib/rake/application.rb:735:in `raw_load_rakefile'
/usr/local/rvm/gems/ruby-3.3.0/gems/rake-13.4.2/lib/rake/application.rb:127:in `block in load_rakefile'
/usr/local/rvm/gems/ruby-3.3.0/gems/rake-13.4.2/lib/rake/application.rb:209:in `standard_exception_handling'
/usr/local/rvm/gems/ruby-3.3.0/gems/rake-13.4.2/lib/rake/application.rb:126:in `load_rakefile'
/usr/local/rvm/gems/ruby-3.3.0/gems/rake-13.4.2/lib/rake/application.rb:83:in `block in run'
/usr/local/rvm/gems/ruby-3.3.0/gems/rake-13.4.2/lib/rake/application.rb:209:in `standard_exception_handling'
/usr/local/rvm/gems/ruby-3.3.0/gems/rake-13.4.2/lib/rake/application.rb:81:in `run'
/usr/local/rvm/gems/ruby-3.3.0/gems/rake-13.4.2/exe/rake:27:in `<top (required)>'
/usr/local/rvm/gems/ruby-3.3.0/bin/rake:25:in `load'
/usr/local/rvm/gems/ruby-3.3.0/bin/rake:25:in `<main>'
/usr/local/rvm/gems/ruby-3.3.0/bin/ruby_executable_hooks:22:in `eval'
/usr/local/rvm/gems/ruby-3.3.0/bin/ruby_executable_hooks:22:in `<main>'

Actions #1

Updated by Go MAEDA 24 days ago

Could you tell me which migration caused the error?

Actions #2

Updated by Go MAEDA 24 days ago

  • Category set to Ruby support

I was able to reproduce the same error with Ruby 3.3.0.
Could you update to Ruby 3.3.12, the latest Ruby 3.3 release, and check if that resolves the issue?

Actions #3

Updated by Go MAEDA 24 days ago

It seems that this issue only occurs with Ruby 3.3.0, and does not occur in Ruby 3.3.1 or later.
I also tested Ruby 3.3.1 and confirmed that the error does not occur.

Actions #4

Updated by ChunChang (Nagaharu) Lo 22 days ago

Hello 前田さん

Please accept my apologies for the delayed response.
Following the upgrade to Ruby version 3.3.12, the issue was resolved.
Thank you for your assistance.

(Sorry if I used the wrong kanji.)

Actions #5

Updated by Go MAEDA 22 days ago

  • Status changed from New to Closed
  • Resolution set to Wont fix

Thank you for the feedback. Thanks to this report, I learned that Ruby 3.3.0 has this bug.

In #44413, I have added a note to the Known Issues section of doc/INSTALL that Redmine does not start on Ruby 3.3.0.

(Sorry if I used the wrong kanji.)

你把我的名字寫對了,我叫前田剛。謝謝!

Actions

Also available in: Atom PDF