Bundler's certainly done a great job of making it low-cost to add,
install and upgrade gems that your app depends on. However without a
pretty compelling *cost* to maintaining the existence of plugins, I
don't really see what the upside is.
For the odd small snippet of code you want to share amongst a few
applications, plugins are a lovely lo-fi solution. Removing that
would come with a pretty high hurdle, one much higher than "the code
would be nicer" when, in reality, it's very little code to support
them, 91 lines or so at present.
--
Cheers
Koz
On the good side of keeping plugins, unless I'm missing something, it
seems easier for the developer to test (I'm not talking about automated
tests) the plugin in the development phase, before packaging it in a
gem. But maybe I'm just missing about how development could be easily
tested when used as a gem...
Rodrigo
Rodrigo
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-co...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Plugins which aren't being maintained wouldn't magically have been
maintained if the authors had been told to use gems instead of
plugins. Your application upgrade process would have been just as
hard there with a gem which wasn't updated as it was
> If you're sharing anything between your apps, you benefit from using a
> gem. It's easier than git submodules or any equivalent. The only way
> a plugin is easier to manage (in my experience) is if you're just
> copying it in and not backing it with its own source control. And
> let's hope no poor souls are doing that. And if they insist, they
> still have the lib directory.
The lib directory doesn't give you an init.rb which is automatically
required at the right moment.
I'm all for de-emphasing plugins maybe. Removing the plugin
generator, putting gems first in guides. But that's something else
entirely for someone who just wants to dump a monkeypatch into their
app.
>
> You're right: 91 lines isn't much to maintain. But that's not the
> cost that concerns me.
>
> Peter
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-co...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
>
>
--
Cheers
Koz
> I'm all for de-emphasing plugins maybe. Removing the plugin
> generator, putting gems first in guides. But that's something else
> entirely for someone who just wants to dump a monkeypatch into their
> app.
Yeah, I buy that. Count my vote toward deprecating the plugin system.
Let's not do anything to encourage new plugins to be made. But sure,
no harm in letting them function until the plugin code becomes a thorn
in our side someday.
Peter
I find vendor to be a nice conventional place for various files that our applications depend on, which should be version controlled alongside our ruby code. The contents of vendor may not even be ruby -- it might contain supporting software that's used in an integration, for instance.
Put another way, vendor is the place for third-party (vendor) support files.
--
Ernie Miller
http://metautonomo.us
http://github.com/ernie
http://twitter.com/erniemiller
I agree. ./lib is mine, ./vendor is 'theirs'.
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:Byr...@Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
bundle gem <gemname>