2013-03-23 2 views
1

나는 많은 문제를 이미 해결했지만이 문제로 어려움을 겪고 있습니다.Spree Rails 앱을 카피 스트라노로 배포하는 중에 Procfile 오류가 발생했습니다.

배포 환경 : 우분투 12.10 RVM 1.18.21 (안정적) 루비 1.9.3p392

cap deploy:cold 

오류와이 오류를 얻기 :

* 2013-03-23 18:01:27 executing `deploy:start' 
    triggering before callbacks for `deploy:start' 
    * 2013-03-23 18:01:27 executing `foreman:export' 
    * executing "cd /home/gwuix2/picurwebaruhaz/current && bundle exec foreman export bluepill /data/picurwebaruhaz/shared/config" 
    servers: ["198.211.117.84"] 
    [198.211.117.84] executing command 
** [out :: 198.211.117.84] ERROR: Procfile does not exist. 
** [out :: 198.211.117.84] 
    command finished in 1430ms 

내 배포합니다. rb : https://gist.github.com/gwuix2/5228473

Gemfile은 : 당신이 생성 할 필요가 같은 https://gist.github.com/gwuix2/5228488

+0

실제로 앱 루트에 'Procfile'이 있습니까? SCM에 체크 인되어 있는지 확인하고 확인하십시오. – Eugene

답변

1

야단법석의 문서에 따르면, 보이는 배포하기 전에 앱에 (Foreman에 의해 사용된다) Procfile.

Spree guide to Application Processes

그 가이드는 당신이에 의해 얻을 수있을 수있는 기본 Procfile의 내용을 보여줍니다.

그래서

Every server will get some basic configuration, such as Rails Environment environment variable, placeholder directories for your Spree application, automatically generated database.yml and Procfile files, and more.

수동으로 Procfile를 생성 할 수있는 경우에도 때문으로보고 가치가있을 수 있습니다 실행할 수 있습니다 난사는 또한 당신을 위해 몇 가지를 생성하는이 Procfile 포함 돌볼 수 이는 deployment service있다 누락 된 설정 파일로 인해 더 많은 쟁점이 생기고, 배포 서비스가 자동으로 모든 설정을 처리 할 수 ​​있습니다.

관련 문제