byebug
byebug copied to clipboard
Add irb as a runtime dependency
prybug depends on irb: https://github.com/deivid-rodriguez/byebug/blob/d971a2b40807faf4c8654b204ddc2b30d90351fe/lib/byebug/commands/irb.rb#L4 irb isn't bundled with ruby, starting with ruby2.6. irb is a standalone gem, so we cannot rely on it being present on the target system.
@bastelfreak irb is a default gem in ruby 2.6. That means it can't be removed, so I think we can assume it's present, actually.
Is is actually a default gem? At least on archlinux it isn't bundled with ruby2,6, as far as I know. It's a stand alone gem.
I thought so, but maybe I'm wrong... Either that, or a packaging bug? :thinking:
I thought so, but maybe I'm wrong
You're correct.
See https://github.com/ruby/ruby/tree/v2_6_0/lib/irb, note the irb.gemspec file. Hence, it is a default gem, but packagers can change all sorts of things. For instance, see Travis...
All Ruby 'bundled gems' are listed in https://github.com/ruby/ruby/blob/v2_6_0/gems/bundled_gems
It seems like a packaging bug indeed: https://git.archlinux.org/svntogit/packages.git/commit/?h=packages/ruby&id=509f2d159b11686c8739154c6fe50978fbcddbb4
I opened a ticket about it: https://bugs.archlinux.org/task/62709
Hi @bastelfreak. archlinux has readded irb as a default dependency of their ruby package, so I think we can close this?