Hi,

I forked active scaffold and made a small change, and want to run the
tests. However it fails as mock_app seems to still be a rails 2.3 app.

Specifically in boot.rb there is a require 'initializer' line which
bombs out (no initializer.rb in rails 2.x?). A rails 3.0 boot.rb looks
quite different.

So, the question is how do I make the tests run?

What I tried:
bundle install
bundle exec rake test

The output:
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/active_support/
dependencies.rb:239:in `require': no such file to load -- initializer
(LoadError)
        from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/
active_support/dependencies.rb:239:in `require'
        from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/
active_support/dependencies.rb:225:in `load_dependency'
        from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/
active_support/dependencies.rb:596:in `new_constants_in'
        from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/
active_support/dependencies.rb:225:in `load_dependency'
        from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/
active_support/dependencies.rb:239:in `require'
        from active_scaffold/test/mock_app/config/boot.rb:55:in
`load_initializer'
        from active_scaffold/test/mock_app/config/boot.rb:38:in `run'
        from active_scaffold/test/mock_app/config/boot.rb:11:in `boot!'
        from active_scaffold/test/mock_app/config/boot.rb:110

Regards,
Liehann

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.

Reply via email to