I'm trying to specify a git source in my Jeweler Rake file:

   gem.add_dependency 'myapp', :git => "git@github.com:myaddress/myapp.git", :branch => "mybranch"

but I hit a format error. Do you know how to format this?

有帮助吗?

解决方案

I don't think you can add a dependency for a git repo. It doesn't work like Bundler afaik.

http://docs.rubygems.org/read/chapter/20#dependencies

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top