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