Browse Source

Added class reload support, expecting rack layer.

Martin Edenhofer 11 years ago
parent
commit
65078e85fe
1 changed files with 6 additions and 0 deletions
  1. 6 0
      config/initializers/vendor_lib.rb

+ 6 - 0
config/initializers/vendor_lib.rb

@@ -0,0 +1,6 @@
+# load all vendor/lib extentions
+Dir["#{Rails.root}/vendor/lib/*"].each {|file|
+  if File.file?(file)
+    require file
+  end
+}