그래서 RVM을 사용하여 nginx/unicorn 서버로 capistrano 배치 설정을 시도하고 있습니다.capistrano에서 rake를 찾을 수 없음 deploy
배포 작동하지만, 내가 카피 스트라 노를 통해 유니콘과 상호 작용을 시도 할 때 나는 같은 오류가 발생 : I는 인터 웹 밤새을 검색하고 해결책을 찾을 수 없습니다
[~/source/quibbler/config]
$ cap unicorn:start
* executing `unicorn:start'
* executing "cd /u/apps/quibbler/current && bundle exec unicorn_rails -c /u/apps/quibbler/current/config/unicorn-production.rb -E production -D"
servers: ["wwwtestvm.whf.app"]
[wwwtestvm.whf.app] executing command
** [out :: wwwtestvm.whf.app] Could not find rake-0.9.2 in any of the sources
command finished in 553ms
failed: "rvm_path=/usr/local/rvm /usr/local/rvm/bin/rvm-shell '[email protected]' -c 'cd /u/apps/quibbler/current && bundle exec unicorn_rails -c /u/apps/quibbler/current/config/unicorn-production.rb -E production -D'" on wwwtestvm.whf.app
. 명령을 쉘에 붙여 넣으면 RVM 환경이 올바르지 않다고 99 % 확신합니다.
내 배포와 유니콘 CONFIGS의 요지를 만들었습니다
https://gist.github.com/1375736#file_deploy.rb https://gist.github.com/1375736#file_unicorn_production.rb
어떤 도움이나 지침은 감상 할 수있다.