プロジェクト

全般

プロフィール

Vote #79841

完了

Stay in RMagick 2.16.0 and don't update to 3.0.0

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Gems support_45
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
45
version_id:
147
issue_org_id:
30821
author_id:
332
assigned_to_id:
332
comments:
5
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

RMagick 3.0.0 has been released on 2019-02-16 but the installation of Redmine fails due to the latest RMagick in some environments.

This is because RMagick 3.0.0 narrowed the supported ImageMagick version. Previous Rmagick 2.16.0 supports ImageMagick >= 6.4.9 but 3.0.0 supports only ImageMagick ImageMagick >= 6.8.9 (even RMagick 3.0.0 does not support ImageMagick 7 yet).

Some Linux distribution still bundles older ImageMagick. For example, CentOS 7 bundles ImageMagick 6.7.8. Rmagick 3.0.0 causes an error during the installation of Redmine in such environments.

There is no benefit for us to update to RMagick 3.0.0 for now, so we should pin the version of RMagick in the Gemfile.


Index: Gemfile
===================================================================
--- Gemfile (revision 17874)
+++ Gemfile (working copy)
@@ -32,7 +32,7 @@
 platforms :mri, :mingw, :x64_mingw do
   # Optional gem for exporting the gantt to a PNG file, not supported with jruby
   group :rmagick do
-    gem "rmagick", ">= 2.14.0"
+    gem "rmagick", "~> 2.16.0"
   end

   # Optional Markdown support, not for JRuby

p.s.
RMagick sometimes causes such build errors while installing Redmine. We can escape from such troubles by switching to MiniMagick that is written in pure-Ruby. We already have the patch to remove RMagick (#30492).


journals

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Good news.
--------------------------------------------------------------------------------
Committed.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,30492,Replace RMagick with MiniMagick

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0