2013-07-10 179 views
0

它怎麼樣去中心。在這裏再次與另一個n00b查詢。我正在閱讀Learn Rails教程,並且正在執行步驟1.4.2。當我輸入:git push heroku master產生致命錯誤

C:\Sites\rails_projects\first_app> git push heroku master 

系統返回:

!Timed out compiling Ruby/Rails app (15 minutes) 
!See https://devcenter.heroku.com/articles/slug-compiler#time-limit 

To [email protected]:gentl-hamlet-4079.git 
![remote rejected] master -> master (pre-receive hook declined) 
error: failed to push some refs to '[email protected]:gentle-hamlet-4079.git' 

的commmands不從我rails_projects或rails_projects/first_app目錄運行,我以前有我的SSH密鑰的併發症,但我不知道認爲這與它有任何關係。如果你熱愛我們,那麼我可以幫助我,無論如何,我會感激不盡。

也使用:

$ cd ~/<anythng> 

回報和錯誤。我不確定「〜/」是什麼時候編寫文檔或者實際上應該工作時的簡寫。如果有幫助,我在XP sp3上。

+0

Unix中的代字符('〜')表示用戶的主目錄(簡寫爲「$ HOME」)。在Windows上,它因版本而異,但通常'C:\ Documents and Settings \ your_account_name'是一個適合XP的好地方。 – cfeduke

+0

謝謝你幫助很多喲。 – lawrencesloan

回答

0

使用turbo-sprockets-rails3 gem確保系統不會多次預​​編譯資產,並對它們進行緩存,以便後續預編譯只會預編譯已更改的文件。