If PHP is your comparison (and if I understand your question correctly), this particular scripting technology is widely used in production applications. There is no reason Ruby should not be; all languages have failings and restrictions. So long as you are aware of these they alone are not a reason to not use something.
hassan bousnguar wrote:Hello,
i really ruby was created for concurrent java and other business application or rubu is a simple scripting language like php, and cannot be used in risked application.
It's sort of difficult to understand your question, but for what it's worth, my team is currently working on a multi-year contract for a food distributor doing a full-scale enterprise resource planning system. So, while that might not be the typical Ruby project, it can be done successfully. Referring to Ruby as a 'scripting language' would be a huge understatement, especially as compared to PHP.
Ruby grew out of Perl based needs but with a Smalltalk style object system. It is that object system that has helped make Ruby suitable for large and complicated projects.