Inject ruby reimplemented