```ruby
require 'knapsack'

namespace :knapsack do
  task :rspec do
    allocator = Knapsack::Allocator.new

    Knapsack.logger.info
    Knapsack.logger.info 'Report specs:'
    Knapsack.logger.info allocator.report_node_specs
    Knapsack.logger.info
    Knapsack.logger.info 'Leftover specs:'
    Knapsack.logger.info allocator.leftover_node_specs
    Knapsack.logger.info

    cmd = %Q[bundle exec rspec --default-path #{allocator.spec_dir} -- #{allocator.stringify_node_specs}]

    exec(cmd)
  end
end
```

Use puts in rake task
user
```ruby
require 'knapsack'

namespace :knapsack do
  task :rspec do
    allocator = Knapsack::Allocator.new

    puts
    puts 'Report specs:'
    puts allocator.report_node_specs
    puts
    puts 'Leftover specs:'
    puts allocator.leftover_node_specs
    puts

    cmd = %Q[bundle exec rspec --default-path #{allocator.spec_dir} -- #{allocator.stringify_node_specs}]

    exec(cmd)
  end
end
```
assistant