aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/lib/active_storage
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2017-12-31 13:02:15 -0500
committerGeorge Claghorn <george@basecamp.com>2017-12-31 13:02:15 -0500
commit11995d6fd585e588c36cc4634a3c9b2a9f63c3e9 (patch)
tree04a36fa89f020064ef3b0286022f1ded06b9b04c /activestorage/lib/active_storage
parent79284012e920a80adfbf486e731c285788bde4ed (diff)
downloadrails-11995d6fd585e588c36cc4634a3c9b2a9f63c3e9.tar.gz
rails-11995d6fd585e588c36cc4634a3c9b2a9f63c3e9.tar.bz2
rails-11995d6fd585e588c36cc4634a3c9b2a9f63c3e9.zip
Suppress noise from drawing command invocations
Diffstat (limited to 'activestorage/lib/active_storage')
-rw-r--r--activestorage/lib/active_storage/previewer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/lib/active_storage/previewer.rb b/activestorage/lib/active_storage/previewer.rb
index 3d485988e9..81cdb6aedc 100644
--- a/activestorage/lib/active_storage/previewer.rb
+++ b/activestorage/lib/active_storage/previewer.rb
@@ -51,7 +51,7 @@ module ActiveStorage
def capture(*argv, to:)
to.binmode
- IO.popen(argv) { |out| IO.copy_stream(out, to) }
+ IO.popen(argv, err: File::NULL) { |out| IO.copy_stream(out, to) }
to.rewind
end