문제

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