flyerhzm/rails_best_practices — Issue #78: Failing
Author: komba
Created: 2011-11-20 15:35:42+00:00
State: open

Hello, I just used your gem and it's failing.

```(eval):12:in `-': can't convert String into Array (TypeError)o | ETA: 00:00:01
from (eval):12:in `block in add_resources_routes'
from (eval):3:in `each'
from (eval):3:in `add_resources_routes'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/prepares/route_prepare.rb:23:in `start_command'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core/check.rb:48:in `node_start'
from (eval):6:in `block in prepare'
from (eval):4:in `each'
from (eval):4:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from (eval):12:in `block in prepare'
from (eval):10:in `each'
from (eval):10:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core/runner.rb:82:in `prepare'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core/runner.rb:90:in `prepare_file'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices.rb:106:in `block in process'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices.rb:105:in `each'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices.rb:105:in `process'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices.rb:85:in `block in start'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices.rb:85:in `each'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices.rb:85:in `start'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/command.rb:82:in `'
from /home/komba/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/komba/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/bin/rails_best_practices:6:in `'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/bin/rails_best_practices:19:in `load'
from /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/bin/rails_best_practices:19:in `

'
```