merge of #2560 ruby driver publish fix

two small changes to fix publishing the ruby driver