lib/ruby_skynet/server.rb in ruby_skynet-0.4.0.pre vs lib/ruby_skynet/server.rb in ruby_skynet-0.4.0.pre2

- old
+ new

@@ -165,10 +165,10 @@ # For this test we just send back the received header client.write(BSON.serialize(header).to_s) logger.debug "Sending Reply" logger.trace 'Reply', reply - client.write(BSON.serialize({'out' => BSON.serialize(reply).to_s}).to_s) + client.write(BSON.serialize('out' => BSON::Binary.new(BSON.serialize(reply))).to_s) else logger.debug "Closing client since no reply is being sent back" break end end