rails3 routes.rb DSL deprecation warning

During testing with Rails3 I am seeing this warning:

DEPRECATION WARNING: You are using the old router DSL which will be
removed in Rails 3.1. Please check how to update your routes file at:
http://www.engineyard.com/blog/2010/the-lowdown-on-routes-in-rails-3/.
(called from
/home/byrnejb/Software/Development/Projects/proforma.git/config/environment.rb:5)

However, the contents of config/routes.rb are:

ProformaGit::Application.routes.draw do
  resource :account
end

What is causing this deprecation warning? How do I get rid of it other
than by turning the warnings off?

James Byrne wrote:

During testing with Rails3 I am seeing this warning:

DEPRECATION WARNING: You are using the old router DSL which will be
removed in Rails 3.1. Please check how to update your routes file at:
http://www.engineyard.com/blog/2010/the-lowdown-on-routes-in-rails-3/.
(called from
/home/byrnejb/Software/Development/Projects/proforma.git/config/environment.rb:5)

However, the contents of config/routes.rb are:

ProformaGit::Application.routes.draw do
  resource :account
end

What is causing this deprecation warning? How do I get rid of it other
than by turning the warnings off?

Does anyone have the answer to this and would care to enlighten me? Is
this a bug?

gem cleanup i think you have an old version of a dependency

radhames brito wrote:

gem cleanup i think you have an old version of a dependency

I think that you were right.

Thank you.