試圖推向heroku。無法推送到heroku
當我輸入:heroku創建
得到此消息。
!沒有指定帳戶。 !
!使用--account 運行此命令!
!您還可以將它作爲git config屬性添加到: !混帳配置heroku.account工作
使用Rails 3.1.1
幫助,將不勝感激。
試圖推向heroku。無法推送到heroku
當我輸入:heroku創建
得到此消息。
!沒有指定帳戶。 !
!使用--account 運行此命令!
!您還可以將它作爲git config屬性添加到: !混帳配置heroku.account工作
使用Rails 3.1.1
幫助,將不勝感激。
看起來你已經安裝了Heroku的帳戶插件,它可以讓你多Heroku的帳戶之間切換 - 按照說明這裏https://github.com/ddollar/heroku-accounts新增帳戶,它使用
型gem install heroku
然後上傳RSA GitHub上的關鍵的Heroku到
$ heroku keys:add
Uploading ssh public key /Users/adam/.ssh/id_rsa.pub
一旦你在Heroku的和github上使用命令配置的密鑰所有的代碼去github上,並從那裏來的Heroku
git push heroku master
很快你就會看到這些消息
-----> Heroku receiving push
-----> Ruby/Rails app detected
-----> Detected Rails is not set to serve static_assets