Add rails dependency.