开发者

rails 3 plugin install declare a specific branch

I want to install from a particul开发者_运维百科ar branch on a git repo, how do I do it?


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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜