summaryrefslogtreecommitdiff
path: root/chef-server/config/rack.rb
diff options
context:
space:
mode:
Diffstat (limited to 'chef-server/config/rack.rb')
-rw-r--r--chef-server/config/rack.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/chef-server/config/rack.rb b/chef-server/config/rack.rb
index e6bde4d226..4ed0f70b55 100644
--- a/chef-server/config/rack.rb
+++ b/chef-server/config/rack.rb
@@ -1,3 +1,5 @@
+$: << File.join(File.dirname(__FILE__))
+
# use PathPrefix Middleware if :path_prefix is set in Merb::Config
if prefix = ::Merb::Config[:path_prefix]
use Merb::Rack::PathPrefix, prefix