From 2a8f449cc73c225caa75acfe46cc81bdd64aaa6b Mon Sep 17 00:00:00 2001 From: Anuj Biyani Date: Tue, 4 Jun 2013 11:18:22 -0700 Subject: [PATCH] move require lines around so they make more sense --- bin/aws-ha-release.rb | 2 -- lib/aws-missing-tools/aws-ha-release/aws-ha-release.rb | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/aws-ha-release.rb b/bin/aws-ha-release.rb index 6de3663..9af2945 100755 --- a/bin/aws-ha-release.rb +++ b/bin/aws-ha-release.rb @@ -1,9 +1,7 @@ #!/usr/bin/env ruby begin - require 'aws-sdk' require 'trollop' - require 'timeout' rescue LoadError => e puts "The #{e.message.split('-').last.strip} gem must be installed." raise diff --git a/lib/aws-missing-tools/aws-ha-release/aws-ha-release.rb b/lib/aws-missing-tools/aws-ha-release/aws-ha-release.rb index e9231bb..554946a 100755 --- a/lib/aws-missing-tools/aws-ha-release/aws-ha-release.rb +++ b/lib/aws-missing-tools/aws-ha-release/aws-ha-release.rb @@ -1,3 +1,4 @@ +require 'aws-sdk' require 'timeout' class AwsHaRelease