We are mainly a C++ shop, but we've found several areas where Ruby has proven quite useful. Here are a few:
- Code Generation - Built several DSLs to generate C++/Java/C# code from single input files
- Build Support
- scripts to generate Makefiles for unix from Visual Studio Project Files
- scripts for building projects and formatting the output for Cruise Control
- scripts for running our unit tests and formatting the output for Cruise Control
- scripts for manipulating Visual Studio projects and solutions from the command line
- Integration Tests - We can crank out tests much quicker and cleaner using Ruby than C++
- QA's entire testing suite is written in Ruby
Ruby is basically my go to tool for where it makes sense. And it makes sense in a lot of places.