Microsoft does allow you to use a lot of different languages on the browser -- with the newest Silverlight add-on (not sure if this yet includes dynamic languages like Python and Ruby, for which MS does have strong implementations known as IronPython and IronRuby; I believe, at least, the plan is to support that, if they're not supported yet).
But most people apparently aren't biting, despite MS's popularity -- they'd rather stick to pages done in Javascript (or Flash, Actionscript, much of a muchness), that despite some past security glitches seem to be safely and soundly "sandboxed" now, meaning that no badly-intentioned website author can use them to read your private files (or online banking passwords, etc, etc) and send them back to evil guys for their use. I suspect some of the security worries may hark back to MS's biggest attempt to allow browsers (or at least specifically their Internet Explorer) to run a lot more code -- the Active/X "controls"... which were "barely sandboxed if at all" in some ways. Maybe this time they've got it right, but (much as this may frustrate web programmers) you can't blame people for not being all that willing to put their identities and livelihoods at (perceived) risk.
Javascript, for all of its problems (and Actionscript, a somewhat similar language) at least were designed from the start to be "sandboxed"; Python and Ruby, despite and in some sense because of being "stronger" languages, were never really designed to be sandboxed... and the difficulty of retrofitting "sandboxing" into a general-purpose language can be evinced from the fact that Python, for example, after many years and many releases attempting to support a "restricted execution mode", has at last finally and totally given up on it (as far as the official releases from the Python Software Foundation are concerned, at least -- of course this needs not curtail the possibility of completely different releases such as Microsoft's IronPython, PyPy, Jython, Pynie, &c, but it is, at least, disappointing;-).
Google's "Native Client" technology is a hopefully-revolutionary attempt to allow running native code on the client (via the browser) while maintaining sandboxing and security: should that mature to a ripe and well-accepted technology, then of course (since even, say, C or assembly language would be so safely supported!), Python or Ruby would be no problem at all.
It's early to say if it will live up to its promise, of course (I'm biased, being a personal friend with several of the developers;-) -- it does have the advantage of being an open-source technology, so any security weaknesses stand a better chance to be spotted by "white hat" guys (as they were in, say, Python's rexec idea) rather than lying hidden until spotted and exploited by the guys in black hats (as typically happens with proprietary, closed-source technologies). I don't quite share Eric Raymond's enthusiasm in proclaiming "given enough eyes, all bugs are shallow"... but I do see where he's coming from, and I suspect that, at least where security/sandboxing is concerned, he may have a point!-)