Added rails3 build script