Actions
Defect #11051
closedreposman.rb fails in 1.4.2 because of missing require for rubygems
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