Quasi-generic Rails app bootstrapping script.