init rails for redis