Permalink
Browse files

"Do it like Rake"

  • Loading branch information...
catsby committed Apr 7, 2011
1 parent a9a90f0 commit 5882d03ba2979e75d792143233e5ea40c609f088
Showing with 9 additions and 4 deletions.
  1. +9 −4 lib/growl-transfer.rb
@@ -1,6 +1,11 @@
require 'rubygems'
require 'net/scp'
require 'ruby-growl'
begin
require 'net/scp'
require 'ruby-growl'
rescue LoadError
require 'rubygems'
require 'net/scp'
require 'ruby-growl'
end

require 'growl-transfer/gt_scp.rb'

@@ -17,4 +22,4 @@ def self.Download(opts = {})
gd_scp.download(opts[:remote], opts[:local], opts[:username], opts[:password])
end

end
end

0 comments on commit 5882d03

Please sign in to comment.