New install of ruby 1.8.7, new install of rails 2.2.2, undefined method 'pick_template'

How can a fresh install of ruby, gem, rail, lead to such an ‘in your
face’ failure?

In the directory newly created by the rails command, I ran ‘script/
server’ and I got:

** Starting Mongrel listening at
** Starting Rails with development environment…
active_support/core_ext/module/aliasing.rb:33:in alias_method': undefined methodpick_template’ for class
ActionView::TemplateFinder' (NameError) from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/core_ext/module/aliasing.rb:33:inalias_method_chain’


Anyone have a clue as to what is going on?

Nevermind. I think this might be a Netbeans artifact.

(adding in case anyone runs into this in the future.)
Your active-scaffold needs to be updated. you need to blow away the old
one and add the correct version for rails 2.2.
You need to delete /vendor/plugins/activescaffold directory. Next, in
your command line, enter:
script/plugin install
git:// -r ‘rails-2.2’ # add
–force if necessary
Next, add:
script/plugin install git://
-r rails-2.2

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs