mingming-cn / redmine_work_wechat

GNU General Public License v3.0
3 stars 3 forks source link

是不是只支持redmine5,可否增加4的支持 #1

Closed learuhu closed 2 weeks ago

mingming-cn commented 4 months ago

因为我这边用的是 redmine5 ,没有在 redmine4上测试过。 你可以先试一下 redmine4 能不能用, 如果在 redmine4 上有问题,可以再反馈到这里,我再看看能不能兼容。

learuhu commented 4 months ago

bash-4.2# rake redmine:send_work_wechat days=10 RAILS_ENV="production" (in /opt/redmine-4.0.2-3/apps/redmine/htdocs) rake aborted! Gem::LoadError: You have already activated rake 13.2.1, but your Gemfile requires rake 12.3.2. Prepending bundle exec to your command may solve this. /opt/redmine-4.0.2-3/apps/redmine/htdocs/config/boot.rb:4:in <top (required)>' /opt/redmine-4.0.2-3/apps/redmine/htdocs/config/application.rb:1:in<top (required)>' /opt/redmine-4.0.2-3/apps/redmine/htdocs/Rakefile:5:in `<top (required)>' (See full trace by running task with --trace)

learuhu commented 4 months ago

执行会报这个错误

mingming-cn commented 4 months ago

我看一下如何修复

learuhu commented 3 months ago

大佬,这个问题解决了吗

mingming-cn commented 3 months ago

大佬,这个问题解决了吗

还没看这个问题,预计周末的时候有时间处理这个问题。

mingming-cn commented 3 months ago

bash-4.2# rake redmine:send_work_wechat days=10 RAILS_ENV="production" (in /opt/redmine-4.0.2-3/apps/redmine/htdocs) rake aborted! Gem::LoadError: You have already activated rake 13.2.1, but your Gemfile requires rake 12.3.2. Prepending bundle exec to your command may solve this. /opt/redmine-4.0.2-3/apps/redmine/htdocs/config/boot.rb:4:in <top (required)>' /opt/redmine-4.0.2-3/apps/redmine/htdocs/config/application.rb:1:in<top (required)>' /opt/redmine-4.0.2-3/apps/redmine/htdocs/Rakefile:5:in `<top (required)>' (See full trace by running task with --trace)

我使用了 redmine:4.0.2 这个 docker 镜像测试, 没遇到这个报错, rake redmine:send_work_wechat days=10 RAILS_ENV="production" 也能正常通知, 这个报错应该是其它原因导致的。