1

Ruby on Rails 3.1.0과 Capistrano gem을 사용하고 있습니다. "Automatic Deployment with Capistrano"섹션의 Bundler official documentation에서 필자는 파일의 맨 위에 require 'bundler/capistrano'을 추가했습니다. 나는 cap deploy:migrations 명령을 실행 (배포 및 출원중인 마이그레이션을 실행) 나는 다음과 같은 오류를 얻을 때 지금Bundler와 Capistrano로 배포 할 때의 문제

:

... 
* executing "cd /<my_application_path>/releases/20111026132212 && bundle install --gemfile /<my_application_path>/releases/20111026132212/Gemfile --path /<my_application_path>/shared/bundle --deployment --quiet --without development test" 
    servers: ["<my_remote_server_IP>"] 
    [<my_remote_server_IP>] executing command 
** [out :: <my_remote_server_IP>] Some gems seem to be missing from your vendor/cache directory. 
** [out :: <my_remote_server_IP>] Could not find libv8-3.3.10.2 in any of the sources 
    command finished in 2554ms 
failed: "sh -c 'cd /<my_application_path>/releases/20111026132212 && bundle install --gemfile /<my_application_path>/releases/20111026132212/Gemfile --path /<my_application_path>/shared/bundle --deployment --quiet --without development test'" on <my_remote_server_IP> 

어떻게 문제를 해결할 수 있습니까?

: 이것은 this question 후이 시작 관련 문제의 특정 질문이다.

+0

나는 똑같은 문제가 있습니다! 그걸 해결할 수 있었 니? –

답변

0

로컬 Gemlock 파일과 같은 소리가 원격 Gemset과 맞지 않을 수 있습니다. 최근에 보석을 추가 한 경우 로컬 파일 세트에서 bundle install을 실행하여 Gemlock 파일을 업데이트 한 다음 해당 변경 사항 (있는 경우)을 체크인하십시오. 배포를 다시 실행하십시오.

+0

나는 ('번들 설치') 그것을 재배포했으나 제대로 작동하지 않았다. – user502052

+0

무엇을 설치 했습니까? – user502052

+0

libv8 자바 스크립트 엔진을 설치 했습니까? 어쩌면 문제는 v8 엔진을 필요로하는 보석이 라이브러리를 찾지 못해 제대로 로딩되지 않는다는 것입니다. – nathan

관련 문제