스테이징 서버가 있습니다. 그리고 제가 조사하고 싶은 문제가 있습니다. 하지만 byebug
을 Gemfile
에 추가하는 것을 잊었습니다. 확실히 로컬에 추가 할 수 있으며 bundle
을 실행하고 저장소에 커밋하고 배포하십시오. 그러나 쉬운 방법이 아닌가? 내가 bundle
을 원격으로 Gemfile
을 변경하고 실행하려고하면프로덕션 환경에 번들러가있는 추가 보석을 설치하는 방법은 무엇입니까?
내가 얻을 :
You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.
If this is a development machine, remove the /home/gccs/website-backend/releases/20161018143057/Gemfile freeze
by running `bundle install --no-deployment`.
You have added to the Gemfile:
* byebug
보석은 기본적과 같이, capistrano
와 함께 설치됩니다 (
bundle install --path /home/user/app/shared/bundle --without development test --deployment --quiet
질문에 대한 정보를 추가했습니다. 그리고 나는'bundler'가'Gemfile.local'을 가지고 같은 에러 메시지를 생성한다고 말할 수 있습니다. –
'.bundle/config'을 편집하고이 줄을 제거해야합니다 :'BUNDLE_FROZEN : '1''.) – mdesantis
'.bundle/config를 편집하고이 행을 제거해야합니다 : BUNDLE_FROZEN : '1 '' 또는'0 '으로 변경하십시오. 어쨌든, 훌륭 하네, 고마워. 'commit, push and deploy'보다 더 복잡해지기 시작하고 있습니다. 음, 전혀 변화가 없으며,'Gemfile' 변경,'Gemfile' 변경,'bundle'을 실행하면됩니다. 'Gemfile.local'은 필요 없습니다. 답변을 업데이트 해주세요. –