Deprecation warning

Subscribe to Deprecation warning 3 post(s), 2 voice(s)

 
Avatar PeterOnRails 2 post(s) I have:
- Rails 2.1
- fiveruns_tuneup 0.8.17
- RubyGems 1.3.
When I try to run server in my Rails app, I get next warrning in terminal:
DEPRECATION WARNING: Dependencies is deprecated! Use ActiveSupport::Dependencies instead. See http://www.rubyonrails.org/deprecation for details. (called from /Users/peter/Documents/Sandbox/Feeds/vendor/plugins/fiveruns_tuneup/lib/fiveruns_tuneup.rb:1)
FiveRuns TuneUp (v0.8.17): Logging in /Users/peter/Documents/Sandbox/Feeds/log/tuneup.log
  1. tuneup.log file:
  2. Logfile created on Fri Oct 24 14:12:23 +0200 2008 by /
    FiveRuns TuneUp (v0.8.17): Rails version 2.1.1 is supported, loading…
    FiveRuns TuneUp (v0.8.17): Started.
    Where is the problem and how do I solve it? Thanks.
 
Avatar PeterOnRails 2 post(s)

I just upgraded Rails to 2.1.2 and it is working except I still get the above error message. But now I can run application and using tuneup plugin.

 
Avatar mark 7 post(s) Hi Peter,
We are working on correcting the dependency message. It should only appear once vs. what you are seeing. I’ll update the forum again, when it’s fixed.
In the meantime, you can also edit your fiveruns_tuneup.rb as to read:
deps = defined?(ActiveSupport::Dependencies) ? ActiveSupport::Dependencies : Dependencies
deps.load_paths.unshift File.dirname(__FILE__)

which will address it until we push the updated file out.
Best,
Mark