Ruby adapter for btsync