Skip to content

Commit b3410a7

Browse files
committed
Silence Rakefile errors
1 parent 4ae5926 commit b3410a7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Rakefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ $LOAD_PATH.unshift 'lib'
99
require 'resque/tasks'
1010

1111
def command?(command)
12-
system("type #{command} > /dev/null")
12+
system("type #{command} > /dev/null 2>&1")
1313
end
1414

1515

@@ -50,7 +50,6 @@ task :install => [ 'redis:install', 'dtach:install' ]
5050
begin
5151
require 'sdoc_helpers'
5252
rescue LoadError
53-
puts "sdoc support not enabled. Please gem install sdoc-helpers."
5453
end
5554

5655

0 commit comments

Comments
 (0)