Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

gem.add_dependency Jeweler how do you format a git source?

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

   gem.add_dependency 'myapp', :git => "[email protected]:myaddress/myapp.git", :branch => "mybranch"

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

like image 942
JZ. Avatar asked Nov 01 '11 21:11

JZ.


1 Answers

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

like image 122
Christos Avatar answered Oct 04 '22 21:10

Christos