rubygems Change gem source in Gemfile Make use of ref, branch, git for specific gem in gemfile


Example

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

ref specifies individual commit. branch specifies the git branch to pull from.