-
Notifications
You must be signed in to change notification settings - Fork 501
Description
Hi!
I just tried to run 5.1.1-4 image and it told me that I am missing matrix:
redmine-1 | LoadError: cannot load such file -- matrix (LoadError)
I googled and found that Matrix was removed from Ruby standard library since 3.1.1, so one has to manually add it. I went and created a pre-install.sh script in plugins/ with a
bundle add matrix
in it. But it all blew into my face with
redmine-1 | [!] There was an error parsing injected gems
: You cannot specify the same gem twice with different version requirements.
redmine-1 | You specified: matrix (~> 0.4.2) and matrix (>= 0). Gem already added. Bundler cannot continue.
redmine-1 |
redmine-1 | # from injected gems:1
redmine-1 | # -------------------------------------------
redmine-1 | > gem "matrix", ">= 0"
redmine-1 | # -------------------------------------------
redmine-1 exited with code 4
So it seems that Matrix is already there?