Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Document/standardize using plugins as gems or .rb files #1417
Some of the plugins I use are the documented .rb files (drop them into your plugin folder), while others are gems that require a more complicated setup procedure.
I think it would be worth documenting setup for both, and possibly the benefits of either approach. Is there an official preference on plugins as gems or .rb files?
That's a great idea. Dropping plugins into the plugin folder encourages inlining dependencies, but is easy to use; the "_plugins/ext.rb" pattern is confusing to me, and only gets worse when you mix and match. Something like
is way better, and easy enough that it could be the default recommendation.
I like that this would let you switch which gems you're requiring by switching/cascading config files.