Factor ruby container.