プロジェクト

全般

プロフィール

Vote #80615

完了

Drop support for Bundler prior to 1.12.0

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

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

0%

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

説明

r19425 added "ruby" directive in Gemfile in order to reject Ruby 2.7, but the directive causes parse error if the version of bundler is earlier than 1.12.0 (released in April 2016).

$ bundle update

[!] There was an error parsing `Gemfile`: no implicit conversion of Symbol into Integer. Bundler cannot continue.

 #  from /Users/maeda/redmines/trunk/Gemfile:3
 #  -------------------------------------------
 #
 >  ruby '>= 2.3.0', '< 2.7.0'
 #  gem "bundler", ">= 1.5.0"
 #  -------------------------------------------

The attached patch changes the minimum required version of bundler described in Gemfile and doc/INSTALL.


journals

Setting the target version to 4.0.7.
--------------------------------------------------------------------------------

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

--------------------------------------------------------------------------------
I think #32788#note-7 is a better solution because it does not force admins to update bundler.

Removing the target version.
--------------------------------------------------------------------------------
Go MAEDA wrote:
> I think #32788#note-7 is a better solution because it does not force admins to update bundler.

The change has been committed as r19463 but "@if Bundler::VERSION >= '1.12.0'@" does not look good. So, I suggest dropping the support for the Bundler before 1.12.0 in Redmine 4.2.0.

Although raising the minimum required version of Bundler in minor releases may inconvenience some users, raising in major releases is not a matter because users expect that major releases have many big changes.

The attached patch changes Gemfile to require Bundler 1.12.0 or later.
--------------------------------------------------------------------------------
Committed the patch.
--------------------------------------------------------------------------------


related_issues

relates,Closed,32788,Specify supported Ruby version in Gemfile and doc/INSTALL
blocks,Closed,32839,Redmine 4.1 installation fails due to an attempt to install sprockets 4.0.0 if bundler prior to 1.15.2 is used on Ruby prior to 2.5

Admin Redmine さんが3年以上前に更新

  • カテゴリGems support_45 にセット
  • 対象バージョン4.2.0_152 にセット

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

いいね!0
いいね!0