Question

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?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top