サーチ…


gemfileの特定のgemにgithub repoを使用する

の代わりに

gem 'rails'

githubのユーザー/リポジトリの組み合わせを指定することができます

gem 'rails', github: 'rails/rails'

gemfileの特定のgemについてref、branch、gitを利用する

 gem 'any gem',git: 'any repo',branch: 'specific branch of that repo',ref: 'reference no.'

refは個々のコミットを指定します。 branchは、gitブランチを引き出すよう指定します。



Modified text is an extract of the original Stack Overflow Documentation
ライセンスを受けた CC BY-SA 3.0
所属していない Stack Overflow