Re: [Rails] Re: uninstall dependencies along with the gem
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Am Sun, 23 Jun 2013 06:21:37 -0500
schrieb Jordon Bedwell <envygeeks@gmail.com>:
> On Sun, Jun 23, 2013 at 4:39 AM, Norbert Melzer <timmelzer@gmail.com>
> wrote:
> > Also there are other dangers. Let's assume an RSS-Feed-Gem wich
> > depends on Nokogiri. Also you have a rails app which depends on
> > Nokogiri.
> >
> > Now you remove that RSS-Gem and your App suddenly stops working.
> > Ok, that is as easy as bundle command but creates unnecessary
> > traffic and consumes time.
>
> This is an extreme assumption that somehow blindly implies that
> dependency resolving does not and probably won't exist if this feature
> exists. My refute to that is: apt. Just because you remove one gem
> and another relies on a dependency the removed relied on does not mean
> you cannot resolve dependencies and figure out if it's still needed by
> another gem, as a matter of fact, bundler already has most of that
> built into it and on tap, it just needs to be reworked a bit and
> presto, you have an apt like resolver.
>
Since gem does only look at installed gems and there is no flag like
apts "installed manually" and bundler does only recognize dependencies
on a per project basis, my scenario is valid with the current
architecture.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iF4EAREIAAYFAlHHEQkACgkQmStwlOckyZmstQEAxm1qcc6q8cvVNk24PYSshP/H
Kldau4Fa03686wTVXecBALTr5zV45Qgkkxs3JytUOea/Cd0/orIG1OFq4EsbWJCc
=f0Rn
-----END PGP SIGNATURE-----
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/20130623171521.4ca9dd9b%40fqdn.nobbz.de.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home