Helps setup a environment for rails