Ruby Gemspec Dependency: Is possible have a git branch dependency?

This is not possible, and likely never will be because it would be rather heavy-handed for RubyGems to allow gem developers to require that users have a specific version control system installed to access a gem. Gems should be self-contained with a minimal number of dependencies so that people can use them in as wide an array of application as possible.

This is not possible, and likely never will be because it would be rather heavy-handed for RubyGems to allow gem developers to require that users have a specific version control system installed to access a gem. Gems should be self-contained with a minimal number of dependencies so that people can use them in as wide an array of application as possible. If you want to do this for your own internal projects, my suggestion would be to use Bundler which supports this quite well.

– Luca G. Soave Jun 27 at 22:08 I bundle a gem (omniauth) which actually re-bundle many others, like faraday and oauth2, which are both pointing to an old faraday (0.6.1). I was trying to decouple that nested dependency ... – Luca G.

Soave Jun 27 at 22:13 You do it just like you suggested, but in the Gemfile. If there is no explicit oauth2 requirement, add it ("gem 'oauth2', :git => '....'"), and bundle install. – dasil003 Jun 27 at 22:18 Oh, also, you need to use a proper url, not the ssh syntax.

Eg. Git://github.Com/rails/exception_notification – dasil003 Jun 27 at 22:20 Great it works! I was lost, thanks for clarifying, I really appreciate.

– Luca G. Soave Jun 27 at 22:44.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions