Add Rails infrastructure