Project

General

Profile

Actions

Defect #11051

closed

reposman.rb fails in 1.4.2 because of missing require for rubygems

Added by Martin Corino over 12 years ago. Updated over 12 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

In older version(s) of Redmine (1.2 in our case) rubygems is implicitly loaded by one of the other support libraries required at the start of the script.
In 1.4.2 these libraries have changed and implicit loading of rubygems has gone leading to a LoadError on "require 'activeresource'".
Adding a "require 'rubygems'" before this code solves the issue.

Actions

Also available in: Atom PDF