Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在我的 Jeweler Rake 文件中指定一个 git 源:
gem.add_dependency 'myapp', :git => "git@github.com:myaddress/myapp.git", :branch => "mybranch"
但我遇到了格式错误。你知道如何格式化吗?
我认为您不能为 git repo 添加依赖项。它不像 Bundler afaik 那样工作。
http://docs.rubygems.org/read/chapter/20#dependencies