Initialized the rails application.