1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: Use the correct path to autoload libs
Author: David Suárez <david.sephirot@gmail.com>
Last-Update: 2014-06-15
--- a/lib/aws/core.rb
+++ b/lib/aws/core.rb
@@ -147,9 +147,9 @@ module AWS
].inject({}) { |h,svc| h[svc.class_name] = svc; h }
# @api private
- ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
+ ROOT = File.expand_path(File.join(File.dirname(__FILE__))) #, '..', '..'))
- SRC = ROOT + '/lib/aws'
+ SRC = ROOT #+ '/vendor_ruby/aws'
autoload :Errors, "#{SRC}/errors"
autoload :Record, "#{SRC}/record"
|