Project

General

Profile

Actions

Patch #32841

closed

Drop support for Bundler prior to 1.12.0

Added by Go MAEDA almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Gems support
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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.


Files


Related issues

Related to Redmine - Patch #32788: Specify supported Ruby version in Gemfile and doc/INSTALLClosedGo MAEDA

Actions
Blocked by Redmine - Defect #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.5ClosedGo MAEDA

Actions
Actions #1

Updated by Go MAEDA almost 5 years ago

  • Target version set to 4.0.7

Setting the target version to 4.0.7.

Actions #2

Updated by Go MAEDA almost 5 years ago

  • Blocked by Defect #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 added
Actions #3

Updated by Go MAEDA almost 5 years ago

  • Related to Patch #32788: Specify supported Ruby version in Gemfile and doc/INSTALL added
Actions #4

Updated by Go MAEDA almost 5 years ago

  • Target version deleted (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.

Actions #5

Updated by Go MAEDA almost 5 years ago

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.

Actions #6

Updated by Go MAEDA almost 5 years ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the patch.

Actions

Also available in: Atom PDF