I apologise in advance that I've come into TDD late in the game and am
now trying to catch up. I searched others posts to try and find the
answer before creating this new post, with no success.

 I'm using the Aptana IDE with RadRails Plugin, all in the Eclipse
framework. I just tried to clean out everything and do a clean re-
install. I then did a >Gem Update --System.

Now, before any development....I want to run >rake test and I want to
get everything passing.

Here's the log I'm getting
-----------------------------------------------
C:/ruby/bin/ruby -I"C:/workspace/Demos/lib" -I"C:/workspace/Demos/
test" "C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/
rake_test_loader.rb" "test/unit/article_test.rb" "test/unit/
comment_test.rb" "test/unit/event_test.rb" "test/unit/helpers/
articles_helper_test.rb" "test/unit/helpers/
comments_controller_helper_test.rb" "test/unit/helpers/
comments_helper_test.rb" "test/unit/helpers/events_helper_test.rb"
"test/unit/helpers/nifty_scaffolds_helper_test.rb"
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': C:/workspace/Demos/app/models/photo.rb:6:
syntax error, unexpected tASSOC, expecting kEND (SyntaxError)
          :path => ":rails_root/public/assets/
photos/:id/:style/:basename.:extension"
                  ^     from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in `require'
        from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:155:in `require'
        from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:262:in `require_or_load'
        from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:221:in `depend_on'
        from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:133:in `require_dependency'
        from C:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:
368:in `load_application_classes'
        from C:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:
367:in `each'
        from C:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:
367:in `load_application_classes'
         ... 12 levels...
        from C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/
rake_test_loader.rb:5:in `load'
        from C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/
rake_test_loader.rb:5
        from C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/
rake_test_loader.rb:5:in `each'
        from C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/
rake_test_loader.rb:5
C:/ruby/bin/ruby -I"C:/workspace/Demos/lib" -I"C:/workspace/Demos/
test" "C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/
rake_test_loader.rb" "test/functional/articles_controller_test.rb"
"test/functional/comments_controller_test.rb" "test/functional/
events_controller_test.rb" "test/functional/
photos_controller_test.rb"
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': C:/workspace/Demos/app/models/photo.rb:6:
syntax error, unexpected tASSOC, expecting kEND (SyntaxError)
          :path => ":rails_root/public/assets/
photos/:id/:style/:basename.:extension"
                  ^     from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in `require'
        from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:155:in `require'
        from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:262:in `require_or_load'
        from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:221:in `depend_on'
        from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:133:in `require_dependency'
        from C:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:
368:in `load_application_classes'
        from C:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:
367:in `each'
        from C:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:
367:in `load_application_classes'
         ... 12 levels...
        from C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/
rake_test_loader.rb:5:in `load'
        from C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/
rake_test_loader.rb:5
        from C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/
rake_test_loader.rb:5:in `each'
        from C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/
rake_test_loader.rb:5
C:/ruby/bin/ruby -I"C:/workspace/Demos/lib" -I"C:/workspace/Demos/
test" "C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/
rake_test_loader.rb"
Errors running test:units and test:functionals!
>

Any questions for next steps to clean up my environment?

--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to