flushing ruby stuff