i use safari 4 as well but i haven't encountered the problem..
occasionally, i'll try to download a ruby and instead of it downloading as a .rb file, the actual script's text will display in my browser ... (happens with rubies from crai.archi)
when that happens, i rightclick and choose "save linked file to xxxxxxxx" .. x being your download location..