ruby-progressbar icon indicating copy to clipboard operation
ruby-progressbar copied to clipboard

Make the progressbar and ruby-progressbar gems only differ in their names, but have the exact same content.

Open npf opened this issue 8 months ago • 3 comments


name: Pull Request about: Make the progressbar and ruby-progressbar gems only differ in their names, but have the exact same content.


Let both the ruby-progressbar and progressbar gems allow requiring progressbar or ruby-progessbar indifferently.

Why: Having the 2 gems with quite the same content but not exactly is very confusing, for instance, on Debian because the ruby-progressbar deb package contains the progressbar gem, not the ruby-progressbar gem.

IMHO, having both gems with the exact same content would be more user-friendly, allowing 'require "progressbar"' and 'require "ruby-progressbar"' indifferently, independently of what gem is actually installed (be it with gem install or a distribution package).

npf avatar May 04 '25 11:05 npf

@npf Why does the ruby-progressbar deb package contain the progressbar.gemspec file?

jfelchner avatar Jun 03 '25 02:06 jfelchner

@npf Why does the ruby-progressbar deb package contain the progressbar.gemspec file?

I believe the package is intended to contain the progressbar gem, but is named ruby-progressbar to disambiguate it from packages that provide similar libraries for other languages (such as python3-progressbar).

Or in other words, the same reason that the deb ruby-activerecord package contains activerecord-<version>.gemspec.

isikyus avatar Aug 27 '25 04:08 isikyus

Thanks for the reply! Unfortunately this is incorrect. progressbar and ruby-progressbar used to be two separate gems. They were merged a while back. The old standard of naming gems (ruby-progressbar is very old) was to start the gem name with ruby-.

jfelchner avatar Aug 27 '25 17:08 jfelchner