seattlerb / zentest

144 stars 72 forks source link

Question #33

Closed epinault closed 11 years ago

epinault commented 11 years ago

So when I use bundler based on the #30 and #32 I have to install the gem first (and do system update of rubygems). But

The biggest issue I use DM and the following dependencies appears DataMapper => ParseTree => RubyInline => ZenTest

But I should not have to install ZenTest as I don t run test nor do I use it in any of my code. when I use other gem , they install their dependencies fine within bundler and the vendor path I specify. so what is so special about ZenTest that for bundler it also has to be installed first as a normal gem?

zenspider commented 11 years ago

RubyInline uses ZenTest so it has a dependency on ZenTest.

epinault commented 11 years ago

I know , I was showing your the full dependency path but why can't it all be within bundler?

when I use some other gems like httparty, it takes its own dependencies within bundler and I can package it and it works all fine without ever installing the gem prior . I can say

bundle install --path vendor , and all the gem go happily in there.... Not the case with ZenTest. So either Bundle does not work well with the gemspec or something about your gemspec is different?

I am trying to figure out wether your gem is causing a problem, or rubygem or bundler so I can file a defect to the appropriate one but to me it seems the issue is only with ZenTest so far...

zenspider commented 11 years ago

On Feb 14, 2013, at 15:27 , epinault-ttc notifications@github.com wrote:

I know , I was showing your the full dependency path but why can't it all be within bundler?

when I use some other gems like httparty, it takes its own dependencies within bundler and I can package it and it works all fine without ever installing the gem prior . I can say

bundle install --path vendor , and all the gem go happily in there.... Not the case with ZenTest. So either Bundle does not work well with the gemspec or something about your gemspec is different?

I am trying to figure out wether your gem is causing a problem, or rubygem or bundler so I can file a defect to the appropriate one but to me it seems the issue is only with ZenTest so far...

I don't maintain or even use bundler. I'd suggest asking the bundler team.

epinault commented 11 years ago

Thanks! Do you mind sharing how you deploy gems in general (if you need offline/static deployment?) just curious because my experience with bundler is mixed and before I just used to install gem on a server but wonder what's your approach if you 2 different code based running on the same server without bundler

zenspider commented 11 years ago

On Feb 14, 2013, at 15:55 , epinault-ttc notifications@github.com wrote:

Thanks! Do you mind sharing how you deploy gems in general (if you need offline/static deployment?) just curious because my experience with bundler is mixed and before I just used to install gem on a server but wonder what's your approach if you 2 different code based running on the same server without bundler

I'm not entirely sure I understand your question. For the most part, I'm a ruby developer, not a rails developer. So "deploying" a gem for me is simply pushing it to rubygems.org. When I have something with more complex dependencies I use the isolate gem for testing. It is like bundler w/o the complexity (and much much faster). It just works. But for rails stuff, using isolate is going against the grain. We've made it work, but it isn't as easy as just going with bundler.

epinault commented 11 years ago

That makes sense. and you did answer my question then . thanks for your time!