What do you know already? AJAX by itself is pretty easy (with the Prototype library, you'll be up and running in 5 mins) but learning some heavy-duty Javascript (AJAX, DOM, Objects-oriented JS etc) will be the most useful of those you listed.
Ruby seems excellent if you want to write your own applications, but if you're after marketable skills, Java or C# would probably be much more useful.