lib/slideshow/cli/commands/plugins.rb in slideshow-2.0.0 vs lib/slideshow/cli/commands/plugins.rb in slideshow-2.0.1

- old
+ new

@@ -27,10 +27,12 @@ plugins = find_plugins if plugins.empty? puts " -- none --" else plugins.each do |plugin| - puts " #{plugin}" + ## NB: use full_path - since Ruby 1.9.2 - ./ no longer included in load path for security + plugin_fullpath = File.expand_path( plugin ) + puts " #{plugin} (#{plugin_fullpath})" end end end end # class Plugins \ No newline at end of file