On Dec 1, 6:57 pm, "Mislav Marohnić" <[EMAIL PROTECTED]>
wrote:
> On Tue, Dec 2, 2008 at 01:46, Jeff <[EMAIL PROTECTED]> wrote:
>
> > /home/jcohen/sites/pw/current/vendor/rails/actionpack/lib/action_view/
> > template_handler.rb:11:in `initialize':ArgumentError: wrong number of
> > arguments (0 for 1)
>
> Sounds more like an issue where you have mismatching framework versions. You
> should have posted the full stack trace. Does every line come from vendored
> rails, or did some framework load accidentally from a gem?

Thanks!  I think you're onto something... the whole stack trace is
below, but now I see that rake rails:update did not update the
scripts; so it still had my 2.1 version of script/about, wheres the
2.2 version explicitly adds the rails_info directory to the load path.

Methinks many other things didn't get updated, either.  What's the
"right" way to make sure everything gets updated to 2.2.2?

Here's the whole stack trace I get when trying to start script/server,
for example - maybe I'm missing something obvious?

(purple) current: script/server
=> Booting Thin (use 'script/server webrick' to force WEBrick)
=> Rails 2.2.2 application starting on http://0.0.0.0:3000
=> Ctrl-C to shutdown server
>> Using rails adapter
Exiting
/home/jcohen/sites/pw/current/vendor/rails/actionpack/lib/action_view/
template_handler.rb:11:in `initialize': wrong number of arguments (0
for 1) (ArgumentError)
        from /home/jcohen/sites/pw/current/vendor/rails/actionpack/lib/
action_view/template_handler.rb:11:in `new'
        from /home/jcohen/sites/pw/current/vendor/rails/actionpack/lib/
action_view/template_handler.rb:11:in `call'
        from /home/jcohen/sites/pw/current/vendor/rails/actionpack/lib/
action_view/renderable.rb:21:in `_unmemoized_compiled_source'
        from /home/jcohen/sites/pw/current/vendor/rails/activesupport/lib/
active_support/memoizable.rb:57:in `compiled_source'
        from /home/jcohen/sites/pw/current/vendor/rails/activesupport/lib/
active_support/memoizable.rb:25:in `__send__'
        from /home/jcohen/sites/pw/current/vendor/rails/activesupport/lib/
active_support/memoizable.rb:25:in `memoize_all'
        from /home/jcohen/sites/pw/current/vendor/rails/activesupport/lib/
active_support/memoizable.rb:22:in `each'
        from /home/jcohen/sites/pw/current/vendor/rails/activesupport/lib/
active_support/memoizable.rb:22:in `memoize_all'
        from /home/jcohen/sites/pw/current/vendor/rails/activesupport/lib/
active_support/memoizable.rb:17:in `freeze'
        from /home/jcohen/sites/pw/current/vendor/rails/actionpack/lib/
action_view/paths.rb:88:in `reload!'
        from /home/jcohen/sites/pw/current/vendor/rails/actionpack/lib/
action_view/paths.rb:102:in `templates_in_path'
        from /home/jcohen/sites/pw/current/vendor/rails/actionpack/lib/
action_view/paths.rb:100:in `each'
        from /home/jcohen/sites/pw/current/vendor/rails/actionpack/lib/
action_view/paths.rb:100:in `templates_in_path'
        from /home/jcohen/sites/pw/current/vendor/rails/actionpack/lib/
action_view/paths.rb:86:in `reload!'
        from /home/jcohen/sites/pw/current/vendor/rails/actionpack/lib/
action_view/paths.rb:78:in `load'
        from /home/jcohen/sites/pw/current/vendor/rails/actionpack/lib/
action_view/paths.rb:109:in `load'
        from /home/jcohen/sites/pw/current/vendor/rails/actionpack/lib/
action_view/paths.rb:109:in `each'
        from /home/jcohen/sites/pw/current/vendor/rails/actionpack/lib/
action_view/paths.rb:109:in `load'
        from ./script/../config/../vendor/rails/railties/lib/initializer.rb:
357:in `load_view_paths'
        from ./script/../config/../vendor/rails/railties/lib/initializer.rb:
182:in `process'
        from ./script/../config/../vendor/rails/railties/lib/initializer.rb:
112:in `send'
        from ./script/../config/../vendor/rails/railties/lib/initializer.rb:
112:in `run'
        from /home/jcohen/sites/pw/current/config/environment.rb:13
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
        from /home/jcohen/sites/pw/current/vendor/rails/activesupport/lib/
active_support/dependencies.rb:153:in `require'
        from /home/jcohen/sites/pw/current/vendor/rails/activesupport/lib/
active_support/dependencies.rb:521:in `new_constants_in'
        from /home/jcohen/sites/pw/current/vendor/rails/activesupport/lib/
active_support/dependencies.rb:153:in `require'
        from /usr/lib/ruby/gems/1.8/gems/thin-1.0.0/lib/rack/adapter/rails.rb:
31:in `load_application'
        from /usr/lib/ruby/gems/1.8/gems/thin-1.0.0/lib/rack/adapter/rails.rb:
23:in `initialize'
        from /usr/lib/ruby/gems/1.8/gems/thin-1.0.0/lib/rack/adapter/
loader.rb:36:in `new'
        from /usr/lib/ruby/gems/1.8/gems/thin-1.0.0/lib/rack/adapter/
loader.rb:36:in `for'
        from /usr/lib/ruby/gems/1.8/gems/thin-1.0.0/lib/thin/controllers/
controller.rb:163:in `load_adapter'
        from /usr/lib/ruby/gems/1.8/gems/thin-1.0.0/lib/thin/controllers/
controller.rb:67:in `start'
        from /usr/lib/ruby/gems/1.8/gems/thin-1.0.0/lib/thin/runner.rb:173:in
`send'
        from /usr/lib/ruby/gems/1.8/gems/thin-1.0.0/lib/thin/runner.rb:173:in
`run_command'
        from /usr/lib/ruby/gems/1.8/gems/thin-1.0.0/lib/thin/runner.rb:139:in
`run!'
        from /home/jcohen/sites/pw/current/vendor/rails/railties/lib/commands/
servers/thin.rb:20
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
        from /home/jcohen/sites/pw/current/vendor/rails/activesupport/lib/
active_support/dependencies.rb:153:in `require'
        from /home/jcohen/sites/pw/current/vendor/rails/activesupport/lib/
active_support/dependencies.rb:521:in `new_constants_in'
        from /home/jcohen/sites/pw/current/vendor/rails/activesupport/lib/
active_support/dependencies.rb:153:in `require'
        from /home/jcohen/sites/pw/current/vendor/rails/railties/lib/commands/
server.rb:49
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
        from script/server:3

Thanks again!
Jeff
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to