--- /dev/null
+From 664a157dfa4067adba5ce5d6d7839288b3691cd9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@gmail.com>
+Date: Sun, 7 Aug 2011 01:38:55 +0200
+Subject: [PATCH] Fix relative-path inclusion to work with Ruby 1.9.2 and
+ later.
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+
+Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com>
+---
+ test/test_Autoscaling_groups.rb | 2 +-
+ test/test_EC2.rb | 2 +-
+ test/test_EC2_availability_zones.rb | 2 +-
+ test/test_EC2_console.rb | 2 +-
+ test/test_EC2_elastic_ips.rb | 2 +-
+ test/test_EC2_image_attributes.rb | 2 +-
+ test/test_EC2_images.rb | 2 +-
+ test/test_EC2_instances.rb | 2 +-
+ test/test_EC2_keypairs.rb | 2 +-
+ test/test_EC2_password.rb | 2 +-
+ test/test_EC2_products.rb | 2 +-
+ test/test_EC2_responses.rb | 2 +-
+ test/test_EC2_s3_xmlsimple.rb | 2 +-
+ test/test_EC2_security_groups.rb | 2 +-
+ test/test_EC2_snapshots.rb | 2 +-
+ test/test_EC2_spot_instance_requests.rb | 2 +-
+ test/test_EC2_spot_prices.rb | 2 +-
+ test/test_EC2_subnets.rb | 2 +-
+ test/test_EC2_volumes.rb | 2 +-
+ test/test_ELB_load_balancers.rb | 2 +-
+ test/test_RDS.rb | 2 +-
+ test/test_helper.rb | 2 +-
+ 22 files changed, 22 insertions(+), 22 deletions(-)
+
+diff --git a/test/test_Autoscaling_groups.rb b/test/test_Autoscaling_groups.rb
+index 70ce3e1..4a768ff 100644
+--- a/test/test_Autoscaling_groups.rb
++++ b/test/test_Autoscaling_groups.rb
+@@ -1,4 +1,4 @@
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ context "autoscaling " do
+ before do
+diff --git a/test/test_EC2.rb b/test/test_EC2.rb
+index 96d4cc9..8d8ffac 100644
+--- a/test/test_EC2.rb
++++ b/test/test_EC2.rb
+@@ -8,7 +8,7 @@
+ # Home:: http://github.com/grempe/amazon-ec2/tree/master
+ #++
+
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ context "The EC2 method " do
+
+diff --git a/test/test_EC2_availability_zones.rb b/test/test_EC2_availability_zones.rb
+index 2c3ae7d..ee6bd54 100644
+--- a/test/test_EC2_availability_zones.rb
++++ b/test/test_EC2_availability_zones.rb
+@@ -8,7 +8,7 @@
+ # Home:: http://github.com/grempe/amazon-ec2/tree/master
+ #++
+
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ context "EC2 availability zones" do
+
+diff --git a/test/test_EC2_console.rb b/test/test_EC2_console.rb
+index 00b16ec..e228522 100644
+--- a/test/test_EC2_console.rb
++++ b/test/test_EC2_console.rb
+@@ -8,7 +8,7 @@
+ # Home:: http://github.com/grempe/amazon-ec2/tree/master
+ #++
+
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ context "The EC2 console " do
+
+diff --git a/test/test_EC2_elastic_ips.rb b/test/test_EC2_elastic_ips.rb
+index 337f135..92031bc 100644
+--- a/test/test_EC2_elastic_ips.rb
++++ b/test/test_EC2_elastic_ips.rb
+@@ -8,7 +8,7 @@
+ # Home:: http://github.com/grempe/amazon-ec2/tree/master
+ #++
+
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ context "EC2 elastic IP addresses " do
+
+diff --git a/test/test_EC2_image_attributes.rb b/test/test_EC2_image_attributes.rb
+index 3946c90..68b1e91 100644
+--- a/test/test_EC2_image_attributes.rb
++++ b/test/test_EC2_image_attributes.rb
+@@ -8,7 +8,7 @@
+ # Home:: http://github.com/grempe/amazon-ec2/tree/master
+ #++
+
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ context "EC2 image_attributes " do
+
+diff --git a/test/test_EC2_images.rb b/test/test_EC2_images.rb
+index 8ca481f..21aea2d 100644
+--- a/test/test_EC2_images.rb
++++ b/test/test_EC2_images.rb
+@@ -8,7 +8,7 @@
+ # Home:: http://github.com/grempe/amazon-ec2/tree/master
+ #++
+
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ context "An EC2 image " do
+
+diff --git a/test/test_EC2_instances.rb b/test/test_EC2_instances.rb
+index 2d771d4..b4e7d63 100644
+--- a/test/test_EC2_instances.rb
++++ b/test/test_EC2_instances.rb
+@@ -8,7 +8,7 @@
+ # Home:: http://github.com/grempe/amazon-ec2/tree/master
+ #++
+
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ context "EC2 instances " do
+
+diff --git a/test/test_EC2_keypairs.rb b/test/test_EC2_keypairs.rb
+index f56254b..7d08962 100644
+--- a/test/test_EC2_keypairs.rb
++++ b/test/test_EC2_keypairs.rb
+@@ -8,7 +8,7 @@
+ # Home:: http://github.com/grempe/amazon-ec2/tree/master
+ #++
+
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ context "EC2 keypairs " do
+
+diff --git a/test/test_EC2_password.rb b/test/test_EC2_password.rb
+index 64cad38..9646931 100644
+--- a/test/test_EC2_password.rb
++++ b/test/test_EC2_password.rb
+@@ -8,7 +8,7 @@
+ # Home:: http://github.com/grempe/amazon-ec2/tree/master
+ #++
+
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ context "The EC2 password " do
+
+diff --git a/test/test_EC2_products.rb b/test/test_EC2_products.rb
+index bf7c178..a84d772 100644
+--- a/test/test_EC2_products.rb
++++ b/test/test_EC2_products.rb
+@@ -8,7 +8,7 @@
+ # Home:: http://github.com/grempe/amazon-ec2/tree/master
+ #++
+
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ context "An EC2 instance " do
+
+diff --git a/test/test_EC2_responses.rb b/test/test_EC2_responses.rb
+index 999c4b8..1e4ca5a 100644
+--- a/test/test_EC2_responses.rb
++++ b/test/test_EC2_responses.rb
+@@ -8,7 +8,7 @@
+ # Home:: http://github.com/grempe/amazon-ec2/tree/master
+ #++
+
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ context "The Response classes " do
+
+diff --git a/test/test_EC2_s3_xmlsimple.rb b/test/test_EC2_s3_xmlsimple.rb
+index 4ebe156..0358caa 100644
+--- a/test/test_EC2_s3_xmlsimple.rb
++++ b/test/test_EC2_s3_xmlsimple.rb
+@@ -8,7 +8,7 @@
+ # Home:: http://github.com/grempe/amazon-ec2/tree/master
+ #++
+
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ # NOTE : These tests exercise amazon-ec2 when used with the aws/s3 gem
+ # which was demonstrating some breaking behavior. The fix was to
+diff --git a/test/test_EC2_security_groups.rb b/test/test_EC2_security_groups.rb
+index d44235b..fc434af 100644
+--- a/test/test_EC2_security_groups.rb
++++ b/test/test_EC2_security_groups.rb
+@@ -8,7 +8,7 @@
+ # Home:: http://github.com/grempe/amazon-ec2/tree/master
+ #++
+
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ context "EC2 security groups " do
+
+diff --git a/test/test_EC2_snapshots.rb b/test/test_EC2_snapshots.rb
+index 1a13513..2e77e92 100644
+--- a/test/test_EC2_snapshots.rb
++++ b/test/test_EC2_snapshots.rb
+@@ -8,7 +8,7 @@
+ # Home:: http://github.com/grempe/amazon-ec2/tree/master
+ #++
+
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ context "EC2 snaphots " do
+
+diff --git a/test/test_EC2_spot_instance_requests.rb b/test/test_EC2_spot_instance_requests.rb
+index c751ac0..c30347a 100644
+--- a/test/test_EC2_spot_instance_requests.rb
++++ b/test/test_EC2_spot_instance_requests.rb
+@@ -8,7 +8,7 @@
+ # Home:: http://github.com/grempe/amazon-ec2/tree/master
+ #++
+
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ context "An EC2 spot instances request " do
+
+diff --git a/test/test_EC2_spot_prices.rb b/test/test_EC2_spot_prices.rb
+index 485d885..d20bede 100644
+--- a/test/test_EC2_spot_prices.rb
++++ b/test/test_EC2_spot_prices.rb
+@@ -1,4 +1,4 @@
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ context "Spot price history " do
+
+diff --git a/test/test_EC2_subnets.rb b/test/test_EC2_subnets.rb
+index 19ece5e..60b4c4b 100644
+--- a/test/test_EC2_subnets.rb
++++ b/test/test_EC2_subnets.rb
+@@ -8,7 +8,7 @@
+ # Home:: http://github.com/grempe/amazon-ec2/tree/master
+ #++
+
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ context "The EC2 subnets " do
+
+diff --git a/test/test_EC2_volumes.rb b/test/test_EC2_volumes.rb
+index c118ca1..4170359 100644
+--- a/test/test_EC2_volumes.rb
++++ b/test/test_EC2_volumes.rb
+@@ -8,7 +8,7 @@
+ # Home:: http://github.com/grempe/amazon-ec2/tree/master
+ #++
+
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ context "EC2 volumes " do
+
+diff --git a/test/test_ELB_load_balancers.rb b/test/test_ELB_load_balancers.rb
+index 48fa12d..33666d0 100644
+--- a/test/test_ELB_load_balancers.rb
++++ b/test/test_ELB_load_balancers.rb
+@@ -1,4 +1,4 @@
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ context "elb load balancers " do
+ before do
+diff --git a/test/test_RDS.rb b/test/test_RDS.rb
+index 083071d..eb29dac 100644
+--- a/test/test_RDS.rb
++++ b/test/test_RDS.rb
+@@ -1,4 +1,4 @@
+-require File.dirname(__FILE__) + '/test_helper.rb'
++require File.expand_path('../test_helper.rb', __FILE__)
+
+ context "rds databases " do
+ before do
+diff --git a/test/test_helper.rb b/test/test_helper.rb
+index 14562e1..33bf0c8 100644
+--- a/test/test_helper.rb
++++ b/test/test_helper.rb
+@@ -19,5 +19,5 @@ gem 'test-unit'
+ end
+ }
+
+-require File.dirname(__FILE__) + '/../lib/AWS'
++require File.expand_path('../../lib/AWS', __FILE__)
+
+--
+1.7.6
+