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?
on 2009-02-28 21:40
on 2013-02-06 01: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
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.