Gem.add_dependency Jeweler how do you format the git source?

I am trying to specify the git source in the 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?

+6
source share
1 answer

I don't think you can add a dependency to the git repository. This does not work, like Bundler afaik.

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

+7
source

Source: https://habr.com/ru/post/900563/


All Articles