Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
npf wants to merge 2 commits intojfelchner:master from
npf:master
Open

Make the progressbar and ruby-progressbar gems only differ in their names, but have the exact same content. #200
npf wants to merge 2 commits intojfelchner:master from
npf:master

Conversation

@npf
Copy link

@npf npf commented May 4, 2025


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).

Doom4535 reacted with heart emoji
npf added 2 commits May 4, 2025 13:01
....rb or ruby-progessbar.rb
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 actually 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 from what gem is actually installed
(be it with gem install or a distrubution package).
...ntent)
It's the same content.
Removes the duplication of code.
Avoid possible divergence.
Copy link
Owner

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

Copy link

isikyus commented Aug 27, 2025
edited
Loading

@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.

Copy link
Owner

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 jfelchner force-pushed the master branch 7 times, most recently from fa75ebe to bafa278 Compare January 8, 2026 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /