Project

General

Profile

Actions

Defect #6752

closed

Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement

Added by Ве Fio about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
Code cleanup/refactoring
Target version:
-
Start date:
2010-10-27
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

I'm getting this error in my default Apache error log.

/public_html/vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010.  Use #requirement

Using::
Redmine 1.0.2
Rails 2.3.5
MySQL 5.1.49
Phusion passenger 2.2.11
Ruby 1.8.7.299

Actions #1

Updated by Jean-Baptiste Barth about 14 years ago

  • Priority changed from Normal to Low

If I remember correctly it's due to the way Rails 2.3.5 manage its gems, not related to Redmine specifically. We decided to keep Rails 2.3.5 until 1.1.0 release (planned for the end of 2010), then switch to the latest Rails 2.3.x branch, which may solve the issue. Can you tell us your rubygems version ?

Actions #2

Updated by Ве Fio about 14 years ago

I figured it was possible it wasn't Redmine related, but you never know.

My rubygems version is 1.3.7

Actions #3

Updated by Jean-Baptiste Barth about 14 years ago

  • Category set to Code cleanup/refactoring
  • Status changed from New to Closed

Thanks. I've heard they'll remove it for rubygems 1.4 but I cannot find a pointer to this anymore... The warning has been fixed in more recent Rails 2.3.x versions (see the ticket on lighthouse and the related commit)

I close this issue, it will be solved de facto when we'll upgrade Rails after Redmine 1.1.0 release. Thanks for the bug report anyway.

Actions

Also available in: Atom PDF