finally fixed slowness when editing ruby files