Prepare the environment for rails app deployment