Defect #36217
closedrake NameError "uninitialized constant Psych::ENGINE"
0%
Description
When I ran rake in the 1.4-stable branch, it came up with the following error:
```
$ rake
rake aborted!
NameError: uninitialized constant Psych::ENGINE
/Users/veck/Desktop/redmine/config/boot.rb:7:in `<top (required)>'
<internal:/Users/veck/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/Users/veck/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
/Users/veck/Desktop/redmine/Rakefile:4:in `<top (required)>'
/Users/veck/.rvm/gems/ruby-3.0.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
(See full trace by running task with --trace)
```
Here is my platform information:
```
$ uname -a
Darwin veckhsiaode-MBP 20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 x86_64
$ ruby -v
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin20]
```
Updated by Go MAEDA about 4 years ago
- Status changed from New to Closed
- Resolution set to Invalid
Redmine 1.4 is very old and does not support Ruby 3.0, you need Ruby 1.8 or 1.9.
And Redmine 4.0 and earlier are already out of maintenance. Please use the latest version 4.2.