2011-11-19 47 views
1

正如這裏所建議的,在rails 3.1中,我應該使用雪松而不是竹子。部署到不同的heroku應用

我做

heroku create --stack:cedar 

,現在我想只部署到。

當我做

git push heroku 

其部署到舊的應用程序(竹堆)

如何強制部署新的應用程序(和新地址也)?

回答

2

我認爲你的git remote heroku是鏈接到舊的堆棧應用程序。

首先做一個git remote rm heroku

然後做一個git remote add heroku [email protected]:your-appname-cedar-stack.git