Permalink
Browse files

Catch interrupts for other executables

  • Loading branch information...
1 parent 492db83 commit 5e109378a236a27b338cbb821931957bd1ef5280 @delano delano committed Aug 31, 2010
Showing with 23 additions and 11 deletions.
  1. +2 −0 README.rdoc
  2. +7 −4 bin/rudy-ec2
  3. +7 −3 bin/rudy-s3
  4. +7 −3 bin/rudy-sdb
  5. +0 −1 lib/rudy/routines/handlers/rye.rb
View
@@ -167,6 +167,7 @@ We encourage people to find unique and interesting ways to break and extend rudy
== Thanks
+* Evgeniy Tsvigun
* Kalin Harvey for all the feedback
* The Rilli.com[http://rilli.com] team
* Adam Bognar
@@ -182,6 +183,7 @@ We encourage people to find unique and interesting ways to break and extend rudy
* Marcel Molina Jr. for aws-s3
* Keshia Knight Pulliam
+
== Credits
* Delano Mandelbaum ( http://solutious.com/ )
View
@@ -11,10 +11,13 @@
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib') # Put our local lib in first place
-require 'drydock'
-require 'rudy'
-require 'rudy/cli'
-
+begin
+ require 'drydock'
+ require 'rudy'
+ require 'rudy/cli'
+rescue Interrupt
+ exit
+end
# Command-line interface for bin/rudy-ec2
module RudyCLI_EC2
View
@@ -11,9 +11,13 @@
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib') # Put our local lib in first place
-require 'drydock'
-require 'rudy'
-require 'rudy/cli'
+begin
+ require 'drydock'
+ require 'rudy'
+ require 'rudy/cli'
+rescue Interrupt
+ exit
+end
# Command-line interface for bin/rudy-s3
module RudyCLI_S3
View
@@ -11,9 +11,13 @@
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib') # Put our local lib in first place
-require 'drydock'
-require 'rudy'
-require 'rudy/cli'
+begin
+ require 'drydock'
+ require 'rudy'
+ require 'rudy/cli'
+rescue Interrupt
+ exit
+end
# Command-line interface for bin/rudy-sdb
module RudyCLI_SDB
@@ -13,7 +13,6 @@ module RyeTools
def create_box(hostname, opts={})
ld [:hostname, hostname, opts, caller[0]]
opts = {
- :info => (@@global.verbose >= 2), # rudy -vv
:debug => false,
:user => current_machine_user,
:ostype => current_machine_os || :unix,

0 comments on commit 5e10937

Please sign in to comment.