El Tuesday 24 February 2009 14:24:41 escribió:
> Sergio,
>
>   I did some more research on Rails 2.2.2. I have installed rails with "gem
> install rails" command. As per rubyforge the gem was created on Nov. 21,
> 2008. But as per github logs of Rails 2.2-stable branch the find_template
> method was introduced (I think) after that date. I see there are constant
> checkins going into rails 2.2-stable branch. Should I be installing rails
> from github rather than gem? Please advise.

I install the gem from github, and I have that method. Try to add github to 
gem sources and reinstall the gems: rails, actionpack and so on

gem sources -a http://gems.github.com/
gem install rails activerecord activeresource activesupport actionmailer 
actionpack

>
>
> Navjeet
> http://chabbewal.blogspot.com
>
> On Tue, Feb 24, 2009 at 8:07 AM, Navjeet <[email protected]> wrote:
> > Sergio,
> >
> >   I deleted the active_scaffold folder under vendor plugins and got it
> > again from github. I noticed you made an update to init.rb so if one is
> > not Rails 2.2.x an exception is raised. I do not see any such exception
> > so I guess I am using Rails 2.2.2. Is there anyway to verify that Rails
> > 2.2.2 has find_template method implemented? I looked at paths.rb under
> > vendor/rails/actionpack/lib/action_view/ and it does not have
> > find_template method.
> >
> > Thanks.
> >
> > Navjeet
> > http://chabbewal.blogspot.com
> >
> > On Tue, Feb 24, 2009 at 7:42 AM, Navjeet <[email protected]> wrote:
> >> Sergio,
> >> I have been doing that all along. I installed active_scaffold using the
> >> command "script/plugin install git://
> >> github.com/activescaffold/active_scaffold.git
> >> -r rails-2.2 "
> >> Do I need to issue another command?
> >>
> >>
> >> Navjeet
> >> http://chabbewal.blogspot.com
> >>
> >>
> >>
> >> On Tue, Feb 24, 2009 at 4:14 AM, Sergio Cambra .:: entreCables - Symbol
> >>
> >> Servicios Informáticos S.L. ::. <[email protected]> wrote:
> >>> El Tuesday 24 February 2009 06:39:52 escribió:
> >>> > I am pretty sure I am using rails 2.2.2. Running the command "rails -
> >>> > v" returns 2.2.2. Just to be sure I froze the gems for my app, and it
> >>> > did say it is freezing to rails 2.2.2
> >>>
> >>> You are right, the line when you get the error is in master branch of
> >>> active_scaffold. Remove your active_scaffold and try to install again
> >>> with -r
> >>> rails-2.2 I don't know why you got master branch instead of rails-2.2
> >>>
> >>> > On Feb 23, 10:53 am, "Sergio Cambra .:: entreCables - Symbol
> >>> > Servicios
> >>> >
> >>> > Informáticos S.L. ::." <[email protected]> wrote:
> >>> > > El Monday 23 February 2009 14:52:39 njs escribió:
> >>> > > > I think I am using 2.2 branch. Isn't the flag -r rails-2.2 meant
> >>> > > > to get 2.2 branch?
> >>> > >
> >>> > > Yes, but I was answering to other mail, and your error trace is
> >>>
> >>> different
> >>>
> >>> > > to that trace
> >>> > > Are you sure you are using rails 2.2.2?
> >>> > > You get an error about find_template doesn't exist in
> >>> > > ActionView::PathSet, but that method exist in ActionView::PathSet
> >>> > > in rails 2.2, but it doesn't in rails 2.3
> >>> > >
> >>> > > > BTW sorry for the multiple posts earlier . My browser on xubuntu
> >>>
> >>> was
> >>>
> >>> > > > not cooperating.
> >>> > > >
> >>> > > > On Feb 23, 5:16 am, "Sergio Cambra .:: entreCables - Symbol
> >>>
> >>> Servicios
> >>>
> >>> > > > Informáticos S.L. ::." <[email protected]> wrote:
> >>> > > > > El Saturday 21 February 2009 16:36:15 RustyHack escribió:
> >>> > > > > > I downloaded the plugin and dropped it into my vendor folder.
> >>>
> >>> When
> >>>
> >>> > > > > > I start up my app, I get the following message. If anyone has
> >>>
> >>> can
> >>>
> >>> > > > > > offer some help here, I would appreciate it.
> >>> > > > >
> >>> > > > > I think you are using activescaffold master branch, you should
> >>>
> >>> use
> >>>
> >>> > > > > rails-2.2 branch.
> >>> > > > >
> >>> > > > > > Aaron
> >>> > > > > > =========
> >>> > > > > >
> >>> > > > > > /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 `find_template' for class
> >>> > > > > > `ActionView::PathSet' (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' from
> >>> > > > > > /Users/rustyhack/Desktop/blackdog/vendor/plugins/
> >>>
> >>> activescaffold-
> >>>
> >>> > > > > > active_scaffold-7b07852464780a8a8894c39d14492992cd15e972/lib/
> >>> > > > > > extensions/generic_view_paths.rb:17
> >>> > > > > >         from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
> >>> > > > > > custom_require.rb:31:in `require'
> >>> > > > > >         from
> >>> > > > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
> >>> > > > > > active_support/dependencies.rb:153:in `require'
> >>> > > > > >         from
> >>> > > > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
> >>> > > > > > active_support/dependencies.rb:521:in `new_constants_in'
> >>> > > > > >         from
> >>> > > > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
> >>> > > > > > active_support/dependencies.rb:153:in `require'
> >>> > > > > >         from
> >>> > > > > > /Users/rustyhack/Desktop/blackdog/vendor/plugins/
> >>> > > > > > activescaffold-
> >>> > > > > > active_scaffold-7b07852464780a8a8894c39d14492992cd15e972/
> >>> > > > > > environment.rb:4
> >>> > > > > >         from
> >>> > > > > > /Users/rustyhack/Desktop/blackdog/vendor/plugins/
> >>> > > > > > activescaffold-
> >>> > > > > > active_scaffold-7b07852464780a8a8894c39d14492992cd15e972/
> >>> > > > > > environment.rb:4
> >>> > > > > >          ... 23 levels...
> >>> > > > > >         from
> >>> > > > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
> >>> > > > > > active_support/dependencies.rb:153:in `require'
> >>> > > > > >         from
> >>> > > > > > /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/
> >>> > > > > > commands/server.rb:49
> >>> > > > > >         from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
> >>> > > > > > custom_require.rb:31:in `require'
> >>> > > > > >         from script/server:3
> >>> > > > >
> >>> > > > > --
> >>> > > > > Sergio Cambra .:: entreCables S.L. ::.
> >>> > > > > Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza
> >>> > > > > T) 902 021 404 F) 976 52 98 07 E) [email protected]
> >>> > >
> >>> > > --
> >>> > > Sergio Cambra .:: entreCables S.L. ::.
> >>> > > Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza
> >>> > > T) 902 021 404 F) 976 52 98 07 E) [email protected]
> >>>
> >>> --
> >>> Sergio Cambra .:: entreCables S.L. ::.
> >>> Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza
> >>> T) 902 021 404 F) 976 52 98 07 E) [email protected]



-- 
Sergio Cambra .:: entreCables S.L. ::.
Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

  • In... RustyHack
    • ... chris guirl
    • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
      • ... njs
        • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
    • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
      • ... njs
        • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
          • ... njs
            • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
              • ... njs
                • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
                • ... njs

Reply via email to