Defect #11051
closed
reposman.rb fails in 1.4.2 because of missing require for rubygems
Added by Martin Corino over 13 years ago.
Updated over 13 years ago.
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.
We're running Redmine 1.4.2 using MRI 1.8.7 and Rails 2.3.14
- Category changed from SCM to SCM extra
- Status changed from New to Resolved
- Target version set to 1.4.3
- Resolution set to Fixed
I'm using ruby1.9.3 + rubygems 1.8.23 and it actually works as is.
The fix is committed in r9742 anyway, thanks.
Jean-Philippe Lang wrote:
I'm using ruby1.9.3 + rubygems 1.8.23 and it actually works as is.
That's correct. MRI 1.9.2+ loads rubygems by default. The pre-1.9 versions do not.
- Target version changed from 1.4.3 to 2.0.2
- Status changed from Resolved to Closed
Also available in: Atom
PDF