<NME> thor
<BEF> ADDFILE
<MSG> Fixed wrappers

<DFF> @@ -0,0 +1,12 @@
+#!/usr/bin/env ruby1.9
+# encoding: utf-8
+
+Dir[File.join(File.dirname(__FILE__), "..", "vendor", "*")].each do |path|
+  if File.directory?(path) && Dir["#{path}/*"].empty?
+    warn "Dependency #{File.basename(path)} in vendor seems to be empty. Run git submodule init && git submodule update to checkout it."
+  elsif File.directory?(path) && File.directory?(File.join(path, "lib"))
+    $:.unshift File.join(path, "lib")
+  end
+end
+
+load File.expand_path(File.join(File.dirname(__FILE__), "..", "vendor", "thor", "bin", "thor"))

Fixed wrappers