gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated
Added by Terence Mill about 14 years ago
I have some error messages i have no doubt, whats is the cause and how to fix. Please help!
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement Usage: DBD::mysql::db::_login(dbh, dbname, username, password, attribs=Nullsv), <DATA> line 343. [Mon Oct 18 12:14:34 2010] [notice] SIGHUP received. Attempting to restart [Mon Oct 18 12:14:34 2010] [notice] Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 mod_jk/1.2.26 mod_ssl/2.2.9 OpenSSL/0.9.8g Phusion_Passenger/2.2.14 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
Replies (1)
RE: gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated - Added by Hans Bangkok almost 14 years ago
I get the same error when I run "script/about". NBD in this particular case AFAIK, but thought I'd post to see if it indicates a more serious issue or not.
Note also my Rack version is actually 1.0.1 rather than the 1.0 as reported by about.
<X:\redmine>set RAILS_ENV=production
<X:\redmine>ruby -v
ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
<X:\redmine>ruby script/about
X:/redmine/config/../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
About your application's environment
Ruby version 1.8.7 (i386-mingw32)
RubyGems version 1.3.7
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Application root X:/redmine
Environment production
Database adapter mysql
Database schema version 20101114115359
<X:\ruby>gem list
- LOCAL GEMS ***
i18n (0.4.2)
mysql (2.8.1 x86-mingw32)
rack (1.0.1)
rake (0.8.7)
rubygems-update (1.3.7)