Can someone tell me how to solve this?
On Jan 20, 11:53 am, safestate <[email protected]> wrote:
> I'm using the One-click 1.8.7rc2 Ruby Windows installer, everything
> has been working fine up till now, when i want to start getting into
> testing, i got this error, any reason why?
>
> C:/Ruby/bin/ruby -Ilib;test "C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/
> lib/rake/rake_test_loader.rb" "test/unit/word_test.rb"
> C:/Ruby/lib/ruby/1.8/erb.rb:469:in `scan': You have a nil object when
> you didn't expect it! (NoMethodError)
> You might have expected an instance of Array.
> The error occurred while evaluating nil.empty?
> from C:/Ruby/lib/ruby/1.8/erb.rb:525:in `compile'
> from C:/Ruby/lib/ruby/1.8/erb.rb:692:in `initialize'
> from C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_view/template_handlers/erb.rb:51:in `new'
> from C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_view/template_handlers/erb.rb:51:in `compile'
> from C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_view/template_handler.rb:11:in `call'
> from C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_view/renderable.rb:21:in `_unmemoized_compiled_source'
> from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
> active_support/memoizable.rb:57:in `compiled_source'
> from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
> active_support/memoizable.rb:25:in `__send__'
> ... 24 levels...
> from C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/
> rake_test_loader.rb:5:in `load'
> from C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/
> rake_test_loader.rb:5
> from C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/
> rake_test_loader.rb:5:in `each'
> from C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/
> rake_test_loader.rb:5
> C:/Ruby/bin/ruby -Ilib;test "C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/
> lib/rake/rake_test_loader.rb" "test/functional/admin/words_controller
> _test.rb" "test/functional/words_controller_test.rb"
> C:/Ruby/lib/ruby/1.8/erb.rb:469:in `scan': You have a nil object when
> you didn't expect it! (NoMethodError)
> You might have expected an instance of Array.
> The error occurred while evaluating nil.empty?
> from C:/Ruby/lib/ruby/1.8/erb.rb:525:in `compile'
> from C:/Ruby/lib/ruby/1.8/erb.rb:692:in `initialize'
> from C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_view/template_handlers/erb.rb:51:in `new'
> from C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_view/template_handlers/erb.rb:51:in `compile'
> from C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_view/template_handler.rb:11:in `call'
> from C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_view/renderable.rb:21:in `_unmemoized_compiled_source'
> from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
> active_support/memoizable.rb:57:in `compiled_source'
> from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
> active_support/memoizable.rb:25:in `__send__'
> ... 24 levels...
> from C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/
> rake_test_loader.rb:5:in `load'
> from C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/
> rake_test_loader.rb:5
> from C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/
> rake_test_loader.rb:5:in `each'
> from C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/
> rake_test_loader.rb:5
> C:/Ruby/bin/ruby -Ilib;test "C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/
> lib/rake/rake_test_loader.rb"
> Errors running test:units and test:functionals!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---