Add rails dependency