标签: ruby-on-rails ruby git github
我想从git repo上的特定分支安装,我该怎么办?
答案 0 :(得分:1)
对于插件:
rails plugin install git://github.com/user/project.git -r branch_name
作为gem,在你的gemfile中声明如下:
gemfile
gem "project", :git => "git://github.com/user/project.git", :branch => "branch_name"