lib/rundock/runner.rb in rundock-1.2.0 vs lib/rundock/runner.rb in rundock-1.2.1

- old
+ new

@@ -74,9 +74,10 @@ gems.each do |g| RUNDOCK_PLUGINS.each do |plugin| next if g !~ /^(rundock-plugin-#{plugin})-/ next if Gem::Specification.find_by_name(g).nil? + Logger.debug("Loading rundock plugin: #{g}") libdir = "#{Gem::Specification.find_by_name(g).full_gem_path}/lib/#{Regexp.last_match(1).tr('-', '/')}" Dir.glob("#{libdir}/*.rb").each do |f| require f.gsub(/.rb$/, '') end