Make sure passenger is installed
run the script as root
move no-rdoc and no-ri to server-wide /etc/gemrc