Hi, I searched this forum as well as googled for documentation on how to package a plugin, couldn''t find any. May be I missed documentation about it, I really appreciate for any pointers to doc/tutorial or steps for packaging and publishing a rails plugin. Thanks Babu --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
pbn wrote:> Hi, > > I searched this forum as well as googled for documentation on how to > package a plugin, couldn''t find any. > May be I missed documentation about it, I really appreciate for any > pointers to doc/tutorial or steps for packaging and publishing a rails > plugin. > > Thanks > Baburails plugin_test_app cd plugin_test_app ruby script/generate plugin make_rails_scale Open up vendor/plugins/make_rails_scale/lib and stick some ruby classes in it. then edit the plugins init.rb to require them and other initialization stuff. Check out the structure of another plugin which does something sort of similar, architecturally and see how they do it. -- 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 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 -~----------~----~----~----~------~----~------~--~---
Thanks for the reply... I know how to create a plugin, my question is how to package and distribute it for sharing it with others. On May 22, 5:39 pm, Alex Wayne <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> pbn wrote: > > Hi, > > > I searched this forum as well as googled for documentation on how to > > package a plugin, couldn''t find any. > > May be I missed documentation about it, I really appreciate for any > > pointers to doc/tutorial or steps for packaging and publishing a rails > > plugin. > > > Thanks > > Babu > > rails plugin_test_app > cd plugin_test_app > ruby script/generate plugin make_rails_scale > > Open up vendor/plugins/make_rails_scale/lib and stick some ruby classes > in it. then edit the plugins init.rb to require them and other > initialization stuff. Check out the structure of another plugin which > does something sort of similar, architecturally and see how they do it. > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
pbn wrote:> Thanks for the reply... I know how to create a plugin, my question is > how to package and distribute > it for sharing it with others. > > On May 22, 5:39 pm, Alex Wayne <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>Right, my bad. It''s as simple as putting your plugin at a publicly accessible source repository. You can use SVN, or host it free at GitHub. Just know that only Rails 2.1 supports installing plugins with git via the script/plugin method. Here''s an example of a plugin of mine on GitHub: http://github.com/Squeegy/fleximage/tree/master -- 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 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 -~----------~----~----~----~------~----~------~--~---