Change rails dependency