Not only due to the popularity of Rails, Ruby has become popular for sysadmins as config management solutions such as puppet and chef are built on top of it. The resulting syntax is very ruby like, and in some cases you are even required to write a few ruby blocks here and there.
It also has an amazing testing framework in the form of rspec, which can be used for much more than just testing Ruby code.
It also has an amazing testing framework in the form of rspec, which can be used for much more than just testing Ruby code.