fork from my pull request to ruby