lib/initialization/plugins.rb in mack-0.5.5.4 vs lib/initialization/plugins.rb in mack-0.6.0
- old
+ new
@@ -1,6 +1,6 @@
plugins = [] # a list of all plugins
-Dir.glob(File.join(Mack::Configuration.plugins, "*")).each do |d|
+Dir.glob(File.join(Mack.root, "vendor", "plugins", "*")).each do |d|
plugins << d
$: << File.join(d, "lib") # add the lib for this plugin to the global load path
end
plugins.sort.each do |plug|
begin
\ No newline at end of file