Reputation: 18581
I am trying to test a branch of a GitHub repo.
gem install gemName
installs the master branch.
I've tried the answers here without luck.
I don't how to use this gem either.
And how could I edit the gem afterwards?
Upvotes: 1
Views: 157
Reputation: 18581
Arturo's answer didn't work for me.
I had luck with this syntax:
gem install gem_name --branch branch_name
Upvotes: 0
Reputation: 13122
You can install a gem specifying a branch, eg:
gem "rack", git: "https://github.com/rack/rack.git", branch: "rack-1.5"
Reference: http://bundler.io/git.html
Upvotes: 2