3 ms·
On platforms that don't have a package manager a self-update might make sense. I think in your case you should just remove that bit of code. Imagine if every Py
by Svenstaro 11y ago
On platforms that don't have a package manager a self-update might make sense. I think in your case you should just remove that bit of code. Imagine if every Python/Rust/Ruby/Go tool had a self-update function. They don't need it, let it be managed by your platform package manager such as gem or your distribution's.
- jamesroseman 11y agoI'm not sure which way I lean, but I suppose there are two camps/use cases here: 1) People who regularly use one or a couple of package managers who can update all packages with a few commands. 2) People who regularly use packages from a variety of many different package managers, for whom running `update` for each one would be more cumbersome than just running updates on the packages themselves. I don't know which way I lean, but I don't see the harm in having a self-update in the package so long as you can also update via gem, but maybe I'm way off-base.