Capistrano로 레일 앱을 전개하려고합니다. 응용 프로그램이 배포되고 번들 설치가 실행됩니다.
~/.rvm/bin/rvm default - 번들 설치 --path/home/pro/www/shared/bundle - 개발 테스트없이 --deployment --quiet승객과 카스트리스 노가 잘못된 보석을 골라내는 레일 앱
하지만 앱을 실행할 때 기본 gemset을 사용하고 공유/묶음의 보석은 사용하지 않습니다. 다음과 같은 오류가 발생합니다
Message from application: <p>It looks like Bundler could not find a gem. Maybe you didn't install all the gems that this application needs. To install your gems, please run:</p>
Could not find rake-11.2.2 in any of the sources (Bundler::GemNotFound)
<pre> /home/pro/.rvm/gems/[email protected]/gems/bundler-1.12.5/lib/bundler/spec_set.rb:95:in `block in materialize'
여기에서 문제를 이해하지 못합니다. MY deploy.rb 파일이 있습니다
set :application, 'rails_a[['
set :repo_url, '[email protected]:user/app.git'
# set :rvm_ruby_version, '[email protected]'
세트 : 단계 %를 (생산) 세트 W : deploy_to, '/ 홈/프로/www가'