2016-11-21 3 views
0

나는 heroku에게 지킬 사이트를 배포했습니다. 로그는 앱 상태가 '시작에서 위로'(아래 표시)로 변경되었음을 나타냅니다. 나는 그것이 나에게주는 내 URL을 쳤을 때jekyll heroku 배포 문제

Starting process with command `bundle exec puma -t 8:32 -w 3 -p 3641` 
[4] Puma starting in cluster mode... 
[4] * Version 3.6.0 (ruby 2.3.1-p112), codename: Sleepy Sunday Serenity 
[4] * Min threads: 8, max threads: 32 
[4] * Environment: production 
[4] * Process workers: 3 
[4] * Phased restart available 
[4] * Listening on tcp://0.0.0.0:3641 
[4] Use Ctrl-C to stop 
Configuration file: /app/_config.yml 
Configuration file: /app/_config.yml 
Generating site: /app -> /app/_site 
[4] - Worker 0 (pid: 6) booted, phase: 0 
Generating site: /app -> /app/_site 
[4] - Worker 2 (pid: 14) booted, phase: 0 
Configuration file: /app/_config.yml 
Generating site: /app -> /app/_site 
[4] - Worker 1 (pid: 10) booted, phase: 0 
heroku[web.1]: State changed from starting to up 

는 그러나 "지킬 현재 사이트를 렌더링한다. 을 잠시 후 다시 시도하십시오." 아무리 오래 기다려도 똑같은 말을합니다. 여러 번 배포를 반복했지만 여전히 동일한 메시지를 제공합니다.

알려 주시기 바랍니다.

답변

0

나는 Rakefile에 assets : precompile rake 태스크를 추가하여이 문제를 해결했다. 원래 내 Rakefile이처럼 보였다 : 혼자

task :build do 
    system('bundle exec jekyll build') 
end 

내 빌드 작업이 대기 페이지가 무한 제공하기 위해 rack-jekyll의 원인, Heroku가의 빌드 프로세스에 후킹되지 않았습니다. 나를 위해 일한 Rakefile은 다음과 같습니다.