On 08/31/11 - 10:14:48AM, David Lutterkort wrote:
> > B) Add a full list of dependencies to the .gemspec like here 
> > http://jeffkreeftmeijer.com/2010/lets-not-add_bundler_dependencies-anymore/ 
> > but then does that make Gemfile redundant?
> > 
> > I like B. What do other people think? Perhaps there isn't a problem? For 
> > example, we can augment the Download instructions with text along the 
> > lines of 'once you've installed deltacloud, you need to install gem X to 
> > talk to cloud provider Y' but I think thats really counterproductive - 
> > the whole point is to make getting and using deltacloud easy.
> 
> Yeah, I wouldn't want people to have to think too hard what drivers they
> need and then install the supporting gems manually. I would have
> preferred (A), since bundler is more precise about versions, but since
> that's deprecated upstream, we should go with (B).

Yeah, I also like B).  If I'm understanding that webpage above, it should
simply be a matter of listing all of your dependencies in the .gemspec, and
then adding "gemspec" into your Gemfile.  That way you get the best of both
worlds; you can "gem install deltacloud-core" and get all of the dependencies,
or if you are a developer you can "bundle install --system" to get them.

-- 
Chris Lalancette

Reply via email to