FredO
2009-Feb-28 20:39 UTC
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 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? --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Fred Obermann
2009-Feb-28 20:56 UTC
Re: new install of ruby 1.8.7, new install of rails 2.2.2, undefined method ''pick_template''
Nevermind. I think this might be a Netbeans artifact. On Sat, Feb 28, 2009 at 3:39 PM, FredO <sinobra-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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? > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Kees B.
2013-Feb-06 00:17 UTC
Re: new install of ruby 1.8.7, new install of rails 2.2.2, undefined method ''pick_template''
(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.3. 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.3'' # add --force if necessary Next, add: script/plugin install git://github.com/ewildgoose/render_component.git -r rails-2.3 -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.