Jed Schneider
Jed Schneider

Reputation: 14671

rails 3 plugin install declare a specific branch

I want to install from a particular branch on a git repo, how do I do it?

Upvotes: 0

Views: 128

Answers (1)

jpemberthy
jpemberthy

Reputation: 7533

For plugins:

rails plugin install git://github.com/user/project.git -r branch_name

As gem, in your gemfile declare something like:

gem "project", :git => "git://github.com/user/project.git", :branch => "branch_name" 

Upvotes: 1

Related Questions