Added rails to dependencies