Hi all, Is there a simple way to get a list of installed plugins in an app? I need name and version of each running plugin. I saw some methods in the API, but related to the loading of plugins. Thanks, Jej --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
"ruby script/plugin list" On Nov 12, 5:22 am, Jej <j...-GANU6spQydw@public.gmane.org> wrote:> Hi all, > > Is there a simple way to get a list of installed plugins in an app? I > need name and version of each running plugin. I saw some methods in > the API, but related to the loading of plugins. > > Thanks, > Jej--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Thanks for that, but this command doesn''t list the plugins I have under /myapp/vendor/plugins I need this to make an about page that gives the rails version, installed plugins, etc.> "ruby script/plugin list" > > On Nov 12, 5:22 am, Jej <j...-GANU6spQydw@public.gmane.org> wrote: > > > Hi all, > > > Is there a simple way to get a list of installed plugins in an app? I > > need name and version of each running plugin. I saw some methods in > > the API, but related to the loading of plugins. > > > Thanks, > > Jej--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
doh, run from your rails app root: list = Dir["vendor/plugins/*"] On Nov 12, 11:37 am, Jej <j...-GANU6spQydw@public.gmane.org> wrote:> Thanks for that, but this command doesn''t list the plugins I have > under /myapp/vendor/plugins > > I need this to make an about page that gives the rails version, > installed plugins, etc. > > > "ruby script/plugin list" > > > On Nov 12, 5:22 am, Jej <j...-GANU6spQydw@public.gmane.org> wrote: > > > > Hi all, > > > > Is there a simple way to get a list of installed plugins in an app? I > > > need name and version of each running plugin. I saw some methods in > > > the API, but related to the loading of plugins. > > > > Thanks, > > > Jej--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Thanks you very much, that does the trick! Jerome On 12 nov, 20:42, jemminger <jemmin...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> doh, run from your rails app root: > > list = Dir["vendor/plugins/*"] > > On Nov 12, 11:37 am, Jej <j...-GANU6spQydw@public.gmane.org> wrote: > > > Thanks for that, but this command doesn''t list the plugins I have > > under /myapp/vendor/plugins > > > I need this to make an about page that gives the rails version, > > installed plugins, etc. > > > > "ruby script/plugin list" > > > > On Nov 12, 5:22 am, Jej <j...-GANU6spQydw@public.gmane.org> wrote: > > > > > Hi all, > > > > > Is there a simple way to get a list of installed plugins in an app? I > > > > need name and version of each running plugin. I saw some methods in > > > > the API, but related to the loading of plugins. > > > > > Thanks, > > > > Jej--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---