Adds Rails infrastructure