From a5bca30b5c8e615e623d25e1097b2dc5ab30ee7b Mon Sep 17 00:00:00 2001 From: geemus Date: Tue, 6 Mar 2012 11:03:05 -0800 Subject: [PATCH] [core] no need to expand the already exanded __LIB_DIR__ --- lib/fog/core.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/fog/core.rb b/lib/fog/core.rb index 7e63c71c6..c075b421b 100644 --- a/lib/fog/core.rb +++ b/lib/fog/core.rb @@ -1,8 +1,7 @@ __LIB_DIR__ = File.expand_path(File.join(File.dirname(__FILE__), '..')) $LOAD_PATH.unshift __LIB_DIR__ unless - $LOAD_PATH.include?(__LIB_DIR__) || - $LOAD_PATH.include?(File.expand_path(__LIB_DIR__)) + $LOAD_PATH.include?(__LIB_DIR__) # external core dependencies require 'base64'