rebuild a rails app