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

Also available in: Atom PDF