csexton-captured 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/captured/file_uploader.rb +1 -1
- metadata +1 -1
@@ -52,7 +52,7 @@ class FileUploader
|
|
52
52
|
remote_name = Digest::MD5.hexdigest(file+Time.now.to_i.to_s) + File.extname(file)
|
53
53
|
remote_path = @upload_proc.call(file, remote_name)
|
54
54
|
puts "Uploaded '#{file}' to '#{remote_path}'"
|
55
|
-
raise "Copy Failed" unless system("echo '#{remote_path}' | pbcopy")
|
55
|
+
raise "Copy Failed" unless system("echo '#{remote_path}' | /usr/bin/pbcopy")
|
56
56
|
growl("Uploaded Image", "#{File.dirname(File.expand_path(__FILE__))}/../../resources/green_check.png")
|
57
57
|
rescue => e
|
58
58
|
puts e
|