Project

General

Profile

Actions

Feature #5638

closed

Use Bundler (Gemfile) for gem management

Added by Alexey Palazhchenko almost 14 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Category:
Gems support
Target version:
Start date:
2010-06-02
Due date:
% Done:

80%

Estimated time:
Resolution:
Fixed

Description

Recently I faced two problems with Redmine:

  1. Some of my projects use 'test-unit' gem version 2.0.x. It's (sadly) not fully compatible with test-unit from Ruby distribution (1.x). Running tests against Redmine trunk raises "uninitialized constant Test::Unit::TestResult::TestResultFailureSupport (NameError)". That's annoying to uninstall and install this gem again.
  2. Many tests fails or puts warnings like "DEPRECATION WARNING: using %d in messages is deprecated; use {{count}} instead.. (called from interpolate at /Users/AlekSi/.rvm/gems/ree-1.8.7-2010.01/gems/activerecord-2.3.5/lib/active_record/i18n_interpolation_deprecation.rb:17)". This is due to new i18n library (0.4.0) loaded instead of version bundled with Rails 2.3.5.

Both problems was solved with Bundler. Check Gemfile in attached patch – it's simple and powerful.


Files

bundler-for-redmine.patch (120 KB) bundler-for-redmine.patch Alexey Palazhchenko, 2010-06-02 23:39
bundler-for-redmine-2.patch (551 Bytes) bundler-for-redmine-2.patch Alexey Palazhchenko, 2010-06-18 08:26
redmine_with_bundler_1.0.patch.zip (128 KB) redmine_with_bundler_1.0.patch.zip Etienne Massip, 2011-05-23 11:53
redmine_with_bundler_1.0.001.patch (6.8 KB) redmine_with_bundler_1.0.001.patch Toshi MARUYAMA, 2011-06-13 16:03
redmine-bundler-20110618.diff (9.77 KB) redmine-bundler-20110618.diff Toshi MARUYAMA, 2011-06-20 12:06
remove-vendored-gems.20110618.diff.gz (122 KB) remove-vendored-gems.20110618.diff.gz Toshi MARUYAMA, 2011-06-20 12:06
redmine-bundler-20110618.mingw.diff (589 Bytes) redmine-bundler-20110618.mingw.diff Toshi MARUYAMA, 2011-07-09 17:20
bundler-full-r6631.patch (84.3 KB) bundler-full-r6631.patch Toshi MARUYAMA, 2011-08-25 13:59
bundler-20111019-full-r7628.diff (14.1 KB) bundler-20111019-full-r7628.diff Toshi MARUYAMA, 2011-10-19 12:58
bundler-r8745.diff (13 KB) bundler-r8745.diff Toshi MARUYAMA, 2012-02-01 09:28
bundler-r8759.diff (13.1 KB) bundler-r8759.diff Toshi MARUYAMA, 2012-02-03 12:55
bundler-r8864.diff (12.9 KB) bundler-r8864.diff Toshi MARUYAMA, 2012-02-13 11:08

Related issues

Related to Redmine - Defect #6324: requires_redmine_plugin should defer loading plugins if not all dependencies are metNewJean-Baptiste Barth2010-09-07

Actions
Related to Redmine - Defect #8664: Internal Server Error when accessing specific mercurial repository files on PostgreSQLNew2011-06-22

Actions
Related to Redmine - Defect #8582: RuntimeError (Your PostgreSQL connection does not support unescape_bytea. Try upgrading to pg 0.9.0 or later.)Closed2011-06-10

Actions
Related to Redmine - Defect #4787: Gannt to PNG - CJK (Chinese, Japanese and Korean) characters appear as ?ClosedToshi MARUYAMA2010-02-10

Actions
Related to Redmine - Defect #7969: Redmine dosn't work with sqlite3-ruby 1.3.3Closed2011-03-23

Actions
Related to Redmine - Feature #9208: Simplify the installation procedure on WindowsClosed2011-09-08

Actions
Has duplicate Redmine - Patch #8128: Bundler supportClosed2011-04-11

Actions
Actions

Also available in: Atom PDF