I have installed two plugins with the cli under a terminal session launched by Locomotive on Mac OS X : Such as : script/plugin install http://svn.napcsweb.com/public/excel and another one for Ajaxscaffold plugin When I try to use one of the code sample function, I always get something like : uninitialized constant Excel in my controller. I''ve understood that any plugin resident into myapp/vendor/plugins/ is register automatically to the application. Do i need to add somewhere in my code a reference to those plugin ? In my controller ? In application.rb ? Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
ryan.raaum-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Nov-30 13:38 UTC
Re: Locomotive & script/install plugin
On Nov 29, 12:48 pm, "Rhaps" <matthieu.duc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I have installed two plugins with the cli under a terminal session > launched by Locomotive on Mac OS X : > Such as : > script/plugin installhttp://svn.napcsweb.com/public/excel > and another one for Ajaxscaffold plugin > > When I try to use one of the code sample function, I always get > something like : > > uninitialized constant Excel > > in my controller. > I''ve understood that any plugin resident into myapp/vendor/plugins/ is > register automatically to the application. > Do i need to add somewhere in my code a reference to those plugin ? > In my controller ? > In application.rb ?I wouldn''t think so. What happens if you open the rails console (ruby script/console) and try to work with the Excel module? -r> > Thanks in advance.--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---