initialised rails barebone