require 'rake'
begin
  require 'rspec/core/rake_task'
rescue LoadError
end

require 'rake'
begin
  require 'rspec/core/rake_task'
  task(:spec).clear
  RSpec::Core::RakeTask.new(:spec) do |t|
    t.verbose = false
  end
rescue LoadError
end

Stop Rake from telling us every spec it's about to run.
Stop Rake from telling us every spec it's about to run.

As per
https://github.com/rspec/rspec-core/issues/266#issuecomment-1866898
