The language choice as such does not matter much, but there are different libraries available for both languages. So you should choose the language that best suits your needs. E.g. statistic/scientific stuff: Python. Web: Ruby. (My personal preference is Python.)