flyerhzm/rails_best_practices — Issue #89: NoMethodError when examining routes
Author: simmogs
Created: 2011-12-16 07:52:40+00:00
State: open

Hi,

I get the following error.

./config/boot.rb
./config/custom_tasks.rb
./config/routes.rb
/home/gsimpson/.rvm/gems/ree-1.8.7-2011.03@butterware/gems/rails_best_practices-1.7.0/lib/rails_best_practices/prepares/route_prepare.rb:49:in `start_command': undefined method `find' for nil:NilClass (NoMethodError)
from /home/gsimpson/.rvm/gems/ree-1.8.7-2011.03@butterware/gems/rails_best_practices-1.7.0/lib/rails_best_practices/core/check.rb:53:in `send'
from /home/gsimpson/.rvm/gems/ree-1.8.7-2011.03@butterware/gems/rails_best_practices-1.7.0/lib/rails_best_practices/core/check.rb:53:in `node_start'
from (eval):6:in `prepare'
from (eval):4:in `each'
from (eval):4:in `prepare'
from /home/gsimpson/.rvm/gems/ree-1.8.7-2011.03@butterware/gems/rails_best_practices-1.7.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'

The site runs ok, so I'm not sure what's wrong.
Cheers,
Graeme