Rebuilding Rails project