private Github 저장소를 bundle install
결론
personal access token으로 만들고 bundler config에 추가하십시오.
하는 방법
Gemfile의 형식은 git이고 프로토콜은 https입니다.
(github 형식이라면 git 프로토콜이 되어 버렸으므로, 그 대응입니다)
Gemfile
gem 'private', git: 'https://github.com/myoan/private.git'
Github에서 personal access token을 만듭니다.
(token을 어딘가에 메모하십시오.)

bundle config에서 bundler에 설정을 추가합니다.
-> % bundle config https://github.com/myoan/private.git myoan:<PERSONAL_ACCESS_TOKEN>
-> % cat ~/.bundle/config
---
BUNDLE_BUILD__NOKOGIRI: "--use-system-libraries"
BUNDLE_BUILD__MYSQL2: "--local --with-opt-lib=/usr/local/opt/openssl/lib --with-opt-include=-I/usr/local/opt/openssl/include"
BUNDLE_HTTPS://GITHUB__COM/MYOAN/PRIVATES__GIT/: "myoan:<PERSONAL_ACCESS_TOKEN>"
이 상태에서 bundle install을 실행.
잘하면 성공입니다!
참조
Reference
이 문제에 관하여(private Github 저장소를 bundle install), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/yoan/items/7082888afff8c2eca10a
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
Gemfile의 형식은
git이고 프로토콜은 https입니다.(
github 형식이라면 git 프로토콜이 되어 버렸으므로, 그 대응입니다)Gemfile
gem 'private', git: 'https://github.com/myoan/private.git'
Github에서 personal access token을 만듭니다.
(token을 어딘가에 메모하십시오.)

bundle config에서 bundler에 설정을 추가합니다.-> % bundle config https://github.com/myoan/private.git myoan:<PERSONAL_ACCESS_TOKEN>
-> % cat ~/.bundle/config
---
BUNDLE_BUILD__NOKOGIRI: "--use-system-libraries"
BUNDLE_BUILD__MYSQL2: "--local --with-opt-lib=/usr/local/opt/openssl/lib --with-opt-include=-I/usr/local/opt/openssl/include"
BUNDLE_HTTPS://GITHUB__COM/MYOAN/PRIVATES__GIT/: "myoan:<PERSONAL_ACCESS_TOKEN>"
이 상태에서 bundle install을 실행.
잘하면 성공입니다!
참조
Reference
이 문제에 관하여(private Github 저장소를 bundle install), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/yoan/items/7082888afff8c2eca10a
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
Reference
이 문제에 관하여(private Github 저장소를 bundle install), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/yoan/items/7082888afff8c2eca10a텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)