Project

General

Profile

Actions

Defect #11391

closed

Incompatibility between "builder 3.0.0" and Ruby 1.8.7, breaking reposman.rb

Added by Jean-Sébastien Pédron almost 12 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM extra
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix
Affected version:

Description

reposman.rb doesn't work with Redmine 2.0.3 and Ruby 1.8.7 because of an incompatibility between the "builder" gem (v3.0.0) and Ruby 1.8.7. It can be reproduced by going to http://redmine_hostname/sys/projects.xml?key=my_key.

The problem is explained in the following pull request: https://github.com/jimweirich/builder/pull/12

We could fix our problem here by using the gem from the pull request submitter, instead of the official gem. Here's the line we put in our Gemfile.local:

gem 'builder', :git => 'https://github.com/elisehuard/builder.git', :ref => '53582a84556102b4d81f144f8c6a28cf9157516d'

(of course, we removed the gem "builder" line from Redmine's Gemfile)

Usual informations:
  • Redmine 2.0.3 from SVN r9959 (branches/2.0-stable)
  • Ruby 1.8.7
  • Rails 3.2.6
  • Debian Squeeze
Actions #1

Updated by Jean-Philippe Lang almost 12 years ago

Tests are OK on the CI server with ruby 1.8.7 and builder 3.0.0.

Actions #2

Updated by Toshi MARUYAMA almost 12 years ago

  • Category set to SCM extra
Actions #3

Updated by Go MAEDA about 9 years ago

  • Status changed from New to Closed
  • Resolution set to Wont fix

The pull request to builder was merged. In addition, Redmine 3.0 dropped Ruby 1.8 support and Ruby 1.8.7 is no longer officially supported.

We can close this issue.

Actions

Also available in: Atom PDF