Permalink
Browse files

Added the root directory to the path

  • Loading branch information...
1 parent e85792b commit bdde203d27523e185e29110e5414ee78cdf2860b @njh committed Dec 22, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 config.ru
View
@@ -1,4 +1,5 @@
-$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), 'lib')))
+ROOT_DIR = File.expand_path(File.dirname(__FILE__))
+$:.unshift(ROOT_DIR, File.join(ROOT_DIR, 'lib'))
require 'rubygems'
require 'bundler'

0 comments on commit bdde203

Please sign in to comment.