2

Is this possible force bunlder to always get the latest commit? Something like:

gem "gemname", :git => "git@bitbucket.org:/username/gemname.git", ref: :force-latest

newUserNameHere
  • 17,348
  • 18
  • 49
  • 79

2 Answers2

3

you can try to use master branch to get latest commit

lets for rails

gem "rails", github: "rails/rails",  branch: "master"
Rajarshi Das
  • 11,778
  • 6
  • 46
  • 74
1

I believe this should work:

bundle update gemname

The bundle update command uses the latest available version of the named gem that is compatible with the specification in your Gemfile.

Wally Altman
  • 3,535
  • 3
  • 25
  • 33
Vladan Markovic
  • 356
  • 1
  • 10