I haven't used Rudix, but I've had great success using Brew; I switch between 5.1 and 5.2 easily using the process I explain at http://thejacklawson.com/2012/09/switching-package-versions-....
Brew also has Luajit, which I use 99% of the time; it's the environment I run in production because it's so much faster.