AWS에 꾸미기 응용 프로그램을 배포하려고합니다.AWS에 꾸미기 설치
: 탄성 콩나무를 설정하고 my_project/.ebextensions에 추가 한 후 /이 난 단지이 오류 메시지를 얻기 위해, 내 응용 프로그램을 배포하는 자식 aws.push를 사용Could not find rake-10.1.0 in any of the sources (Bundler::GemNotFound)
packages:
yum:
git-core: []
container_commands:
bundle:
command: "gem install bundle"
assets:
command: "bundle exec rake assets:precompile"
db:
command: "bundle exec rake db:migrate"
leader_only: true
파일의 .config 번들 쇼 레이크 를 사용하여 내 보석 세트
이중 검사는 저를 제공합니다
... /gems/rake-10.1.0
AWS의 로그 파일을 보면서 다음 오류를 발견했습니다.
sh: git: command not found Git error: command `git clone ' https://github.com/spree/spree.git '
내가 뭘 잘못하고 있니?
확실히 도움이되었습니다. 감사. 더 많은 경우, 벤더/번들에 내 보석을 설치하고 상점/공유/_print.css를 사전 컴파일하십시오. – Miotsu
로컬에 보석이 설치되어 있지 않은 한 작동합니다. 이것은 좀 더 포괄적 인 대답입니다. http://stackoverflow.com/questions/13642171/elastic-beanstalk-ruby-rails-need-to-install-git-so-bundle-install-works-but-i – CarlosCervantes