You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

在Docker版Redmine中安装RedmineX CK-Editor插件遇Bundler错误

Redmine 5.x安装RedmineX免费版CK-Editor插件报错问题

我正将旧版Redmine 2.6迁移至5.x新版本,迁移过程本身十分顺利,所有问题与配置均可正常访问,一切看似正常。现在需要导入插件,首个待安装的RedmineX免费版CK-Editor插件就出现了问题。

插件为Redmine官方插件库中的RedmineX免费版CK-Editor插件。

测试过的Docker Redmine版本:

  • redmine:latest
  • redmine:5.0.9
  • redmine:5.0.5

错误信息:

Installing mimemagic 0.3.10 with native extensions
Bundler::DirectoryRemovalError: Could not delete previous installation of
`/usr/local/bundle/gems/mimemagic-0.3.10`.
The underlying error was ArgumentError: parent directory is world writable,
Bundler::FileUtils#remove_entry_secure does not work; abort:
"/usr/local/bundle/gems/mimemagic-0.3.10" (parent directory mode 40777), with
backtrace:
/usr/local/lib/ruby/3.2.0/bundler/vendor/fileutils/lib/fileutils.rb:1387:in
`remove_entry_secure'
  /usr/local/lib/ruby/3.2.0/bundler.rb:332:in `rm_rf'
/usr/local/lib/ruby/3.2.0/bundler/rubygems_gem_installer.rb:111:in
`strict_rm_rf'
  /usr/local/lib/ruby/3.2.0/bundler/rubygems_gem_installer.rb:19:in `install'
  /usr/local/lib/ruby/3.2.0/bundler/source/rubygems.rb:202:in `install'
  /usr/local/lib/ruby/3.2.0/bundler/installer/gem_installer.rb:54:in `install'
/usr/local/lib/ruby/3.2.0/bundler/installer/gem_installer.rb:16:in
`install_from_spec'
/usr/local/lib/ruby/3.2.0/bundler/installer/parallel_installer.rb:156:in

`do_install'
/usr/local/lib/ruby/3.2.0/bundler/installer/parallel_installer.rb:147:in
`block in worker_pool'
  /usr/local/lib/ruby/3.2.0/bundler/worker.rb:62:in `apply_func'
  /usr/local/lib/ruby/3.2.0/bundler/worker.rb:57:in `block in process_queue'
  /usr/local/lib/ruby/3.2.0/bundler/worker.rb:54:in `loop'
  /usr/local/lib/ruby/3.2.0/bundler/worker.rb:54:in `process_queue'
/usr/local/lib/ruby/3.2.0/bundler/worker.rb:90:in `block (2 levels) in
create_threads'
Bundler Error Backtrace:
/usr/local/lib/ruby/3.2.0/bundler/rubygems_gem_installer.rb:115:in `rescue in
strict_rm_rf'
/usr/local/lib/ruby/3.2.0/bundler/rubygems_gem_installer.rb:110:in
`strict_rm_rf'
  /usr/local/lib/ruby/3.2.0/bundler/rubygems_gem_installer.rb:19:in `install'
  /usr/local/lib/ruby/3.2.0/bundler/source/rubygems.rb:202:in `install'
  /usr/local/lib/ruby/3.2.0/bundler/installer/gem_installer.rb:54:in `install'
/usr/local/lib/ruby/3.2.0/bundler/installer/gem_installer.rb:16:in
`install_from_spec'
/usr/local/lib/ruby/3.2.0/bundler/installer/parallel_installer.rb:156:in

`do_install'
/usr/local/lib/ruby/3.2.0/bundler/installer/parallel_installer.rb:147:in
`block in worker_pool'
  /usr/local/lib/ruby/3.2.0/bundler/worker.rb:62:in `apply_func'
  /usr/local/lib/ruby/3.2.0/bundler/worker.rb:57:in `block in process_queue'
  /usr/local/lib/ruby/3.2.0/bundler/worker.rb:54:in `loop'
  /usr/local/lib/ruby/3.2.0/bundler/worker.rb:54:in `process_queue'
/usr/local/lib/ruby/3.2.0/bundler/worker.rb:90:in `block (2 levels) in
create_threads'
An error occurred while installing mimemagic (0.3.10), and Bundler cannot

.
In Gemfile:
  paperclip was resolved to 6.1.0, which depends on
    mimemagic

请问是否有人成功安装过该插件?我该如何解决这个问题?


内容的提问来源于stack exchange,提问作者YoZ

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.21 19:43:16