Ruby state file