views:

14

answers:

1

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

A: 

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" 
jpemberthy