the problem with Applescript isn't primarily the language. While I would certainly prefer to work in Ruby, it's not a cure all.
Applescript support is extremely difficult to do well, being very complex and poorly documented; those who try beyond the very basics (what's built into Powerplant, for example) often don't get it right or complete; very few indeed fully test and debug, let alone document beyond the frustratingly useless Dictionary resource. Last time I tried a few years ago, Apple's notoriously buggy Finder drove me to despair: of the 6 ways a given job might logically be accomplished: 2 work correctly most of the time; 3 fail with bogus errors or refuse to compile for no obvious reason; 1 fails "silently" and appears to do nothing. Debugging was limited (as in non-existent) except for a few third party programs that didn't work very well either.