havenwood changed the topic of #ruby to: Ruby 3.4.2, 3.3.8 https://www.ruby-lang.org | Log https://libera.irclog.whitequark.org/ruby
TomyLobo has quit [Ping timeout: 252 seconds]
sarna has quit [Ping timeout: 244 seconds]
Linux_Kerio has joined #ruby
Sheilong has quit []
Fridtjof has quit [Quit: ZNC - http://znc.in]
Fridtjof has joined #ruby
victori has quit [Quit: ZNC 1.9.1 - https://znc.in]
victori has joined #ruby
jmcantrell has joined #ruby
grenierm has joined #ruby
troojg has joined #ruby
troojg has quit [Ping timeout: 276 seconds]
infinityfye has joined #ruby
Linux_Kerio has quit [Ping timeout: 252 seconds]
jmcantrell has quit [Ping timeout: 276 seconds]
hwpplayer1 has joined #ruby
graaff has quit [Quit: Leaving]
hwpplayer1 has quit [Remote host closed the connection]
graaff has joined #ruby
hwpplayer1 has joined #ruby
Rounin has quit [Ping timeout: 265 seconds]
sarna has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
Rounin has joined #ruby
Rounin has joined #ruby
TomyLobo has joined #ruby
grenierm has quit [Ping timeout: 240 seconds]
rhe8 has joined #ruby
rhe has quit [Read error: Connection reset by peer]
rhe8 is now known as rhe
Linux_Kerio has joined #ruby
schne1der has joined #ruby
schne1der has quit [Ping timeout: 276 seconds]
GreenResponse has joined #ruby
gemmaro_ has quit [Ping timeout: 252 seconds]
gemmaro has joined #ruby
leah2 has quit [Ping timeout: 272 seconds]
andy-turner has joined #ruby
ih8u has quit [Quit: ih8u]
leah2 has joined #ruby
leah2 has quit [Ping timeout: 260 seconds]
ih8u has joined #ruby
wbooze has joined #ruby
lirion has quit [Quit: ヾ(ʘ‿ʘ)]
leah2 has joined #ruby
ih8u has quit [Remote host closed the connection]
lirion has joined #ruby
fantazo has quit [Quit: Lost terminal]
user71 has joined #ruby
Sheilong has joined #ruby
AliaCommunity has joined #ruby
AliaCommunity has quit [Read error: Connection reset by peer]
wbooze has quit [Quit: Leaving]
wbooze has joined #ruby
jmcantrell has joined #ruby
troojg has joined #ruby
FetidToot has quit [Ping timeout: 244 seconds]
FetidToot has joined #ruby
entropie has joined #ruby
cappy has joined #ruby
ftajhii has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
ftajhii has joined #ruby
dionysus69 has joined #ruby
fantazo has joined #ruby
<sam113101> what's the default repl prompt?
hwpplayer1 has joined #ruby
Fridtjof has quit [Quit: ZNC - http://znc.in]
Fridtjof has joined #ruby
Neg127 has quit [Quit: The Lounge - https://thelounge.chat]
<sam113101> hello?
<sam113101> I installed ruby and it did not come with irb, that's why I'm asking
<testone> sam113101: installed where (OS), from where (origin of ruby distribution)?
<sam113101> fedora
<sam113101> the official repos
<sam113101> I see there is a rubygem-irb package but I guess it's not required by the ruby one, which used to be the case
<kjetilho> sam113101: yeah, irb is irrelevant to run a ruby script, so it makes sense to keep it separate
<testone> maybe they divided ruby in sub-pkgs
<kjetilho> `dnf provides "*/irb"` tells you where to get it (you already found it)
<sam113101> is it better to use the gem command or to install the individual package, though?
<testone> if you installed ruby by pkg manager, pkg
<testone> if you want to manage ruby outside pkg manager, there are: rvm, chruby, <other ruby managers I don't remember>
<testone> they allow you to keep multiple versions of ruby concurrently installed
<testone> and switch between them by some simple command that just change ENV variables
<testone> [having multiple ruby versions isn't useful until you need it :)]
<testone> [therefore I would go with pkg manager till possible]
<kjetilho> I use rbenv to switch between Ruby versions
<kjetilho> (installing stuff as my own user, not root)
<weaksauce> another rbenv user here
<weaksauce> former rvm and chruby one
Rounin has quit [Ping timeout: 260 seconds]
___nick___ has joined #ruby
GreenResponse has quit [Quit: Leaving]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
cappy has quit [Quit: Leaving]
OverCoder is now known as wifi
wifi is now known as OverCoder
___nick___ has quit [Ping timeout: 265 seconds]
hwpplayer1 has quit [Read error: Connection reset by peer]
schne1der has joined #ruby
Sheilong has quit []
hwpplayer1 has joined #ruby
troojg has quit [Ping timeout: 260 seconds]
user71 has quit [Quit: Leaving]
wbooze has quit [Quit: Leaving]
wbooze has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
<o0x1eef> IMO It does not make sense to split up a standard installation of Ruby into a bunch of separate packages
infinityfye has quit [Read error: Connection reset by peer]
<testone> the only valid reason would be to be able to fit in very small system, but I don't think it can be the goal of fedora
<o0x1eef> FreeBSD does it that way too, and they have their own reasoning as well. I tried it for a while before I gave up and rolled my own port that provides a standard install
schne1der has quit [Ping timeout: 260 seconds]
<o0x1eef> Reasoning is here: https://wiki.freebsd.org/Ruby - I think the rationale made more sense when rubygems wasn't part of Ruby, and when the stdlib wasn't gemified with a concept of default gems, etc.
andy-turner has quit [Quit: Leaving]
<havenwood> sam113101: I think you want to install `ruby-devel` package for a proper environment rather than `ruby` package as a dependency.
<havenwood> What testone said. They break it out into little parts. You often want "ruby-full" or "ruby-dev" or "ruby-devel" or whatever the packagers want to call the full Ruby.
<o0x1eef> Not sure that includes a standard install though. Appears you'd also want https://packages.fedoraproject.org/pkgs/ruby/ruby-default-gems/ - etc.
<o0x1eef> Actually, wait, both those are subpackages of this one: https://packages.fedoraproject.org/pkgs/ruby/ - shouldn't that be enough?
<o0x1eef> Hm nope. Looks like a subpackage is just a related package, and you still have to install it manually. I don't think ruby-devel is the answer either though. It is just another small piece in the puzzle.
<havenwood> o0x1eef: You don't get default and bundled gems with ruby, but do with ruby-devel.
<havenwood> Yeah, maybe there's more going on too.
<o0x1eef> Are you sure? ruby-devel appears to be a subpackage just for building C extensions, and ruby is the parent package that has a lot of subpackages.
<o0x1eef> All the subpackages are included on https://packages.fedoraproject.org/pkgs/ruby/
<o0x1eef> Either way I think this conversation goes to show how confusing this approach can be. It is a common theme with fedora, ubuntu, etc for people to trip up on this.
<havenwood> o0x1eef: I'm not at all sure. I haven't used Fedora in enough years my memory has faded to the point of uselessness.
<havenwood> Yup, confusing.
troojg has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
<o0x1eef> No worries. Personally I would install all the subpackages, especially: ruby-bundled-gems ruby-default-gems ruby-devel ruby-libs - that should give you something close to standard Ruby
Linux_Kerio has quit [Ping timeout: 248 seconds]
dionysus69 has quit [Ping timeout: 272 seconds]
troojg has quit [Ping timeout: 276 seconds]