rvm / pluginator

A simple plugin system based on Gem.find_files
GNU Lesser General Public License v3.0
34 stars 8 forks source link

use different plugin path #13

Closed logicminds closed 7 years ago

logicminds commented 7 years ago

I am trying to fix another gem's problem that uses plugins and wanted to know if the pluginator could use a different path besides lib/plugins/.

I would like the lookup path to be 'lib/kitchen' or 'lib/inspec' and since these tools are well established there is no way to change the plugin directory to lib/plugins

logicminds commented 7 years ago

This seems to hard code the path: https://github.com/rvm/pluginator/blob/master/lib/pluginator/autodetect/finder.rb#L47

https://github.com/rvm/pluginator/blob/master/lib/pluginator/autodetect/finder.rb#L84

mpapis commented 7 years ago

closing in favor of #15