How can you suppress the output of db:load:schema? Running
bundle exec rake db:schema:load
with the -s, -q, or ev
-s
-q
Instead of calling the task with Rake::Task['...'].invoke, you can run the command in a subshell, redirecting output to /dev/null.
Rake::Task['...'].invoke
/dev/null
system "bundle exec rake db:schema:load > /dev/null 2>&1"