Deprecation warning
|
|
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
|
|
|
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. |
|
|
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 |
