The gist of it is you only get a single response because you only ever call channel.receive
once. If you want it to print all of them, you need to call it the same amount of times as there were requests. E.g.
list.size.times do
puts channel.receive
end