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
package plugins are included multiple times #274
fpm.rb has explicit requires for each package (package/deb, package/rpm, etc) and then in command.rb there is code to enumerate the files in the package directory and load any ruby files found. Because the code in command.rb gives an explicit path to these files all of the plugins end up getting included twice.
This causes the need for the
It also results in all of the command line options being displayed twice.
Since I'm new to Ruby I'm not sure of the best approach to solve this but have come across the following solutions.
I'm happy to submit pull requests for any of the approaches but wanted to solicit advice on the most Ruby-esque approach.