Forum: Ruby on Rails new install of ruby 1.8.7, new install of rails 2.2.2, undefined method 'pick_template'

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
FredO (Guest)
on 2009-02-28 22:40
(Received via mailing list)
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 0.0.0.0:3000
** Starting Rails with development environment...
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/core_ext/module/aliasing.rb:33:in `alias_method':
undefined method `pick_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:in `alias_method_chain'

yadda,
yadda,
yadda

Anyone have a clue as to what is going on?
Fred Obermann (Guest)
on 2009-02-28 22:57
(Received via mailing list)
Nevermind. I think this might be a Netbeans artifact.
Kees B. (Guest)
on 2013-02-06 02:17
(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://github.com/activescaffold/active_scaffold.git -r 'rails-2.2' # add
--force if necessary
Next, add:
script/plugin install git://github.com/ewildgoose/render_component.git
-r rails-2.2
This topic is locked and can not be replied to.