Working further on rails deployment