A few people started using Ruby for command line tools[1] but the community was very focuses around rails. Also Ruby isn't usually part of the standard OS install. So Ruby stayed stuck in it's Rails niche.
[1] Some listed here:
https://en.wikipedia.org/wiki/List_of_Ruby_software_and_tool...
https://en.wikipedia.org/wiki/Category:Free_software_program...