Coming from Perl, I love Ruby (for non-Rails stuff), but end up using Python because:
- The documentation in the Python ecosystem is generally better.
- There's more Python libraries, and they're generally better maintained and better documented.
- Python has a better interface to C.
- Python is more popular and generally more supported by third parties.
- Django/Flask
- There is comparatively little Ruby activity outside of Rails and a few cybersecurity projects.
I really do not like Python. I think it's really inelegant. But it's a better tool for getting my tasks done, due to the above reasons.