fix ruby driver