fix ruby file autocomplete lag