What error do you get when you try to run script/server without setting up a new rails project?
My guess is that it's either not finding the database.yml or the shebangs (#!/usr/...) are wrong in the script/* files.
Let us know what the error is and we can go from there.
Ben