acu138978 - fix rs_state not working under Windows and ruby 1.9