adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.3, 2.7.5, 2.6.9: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
riffraff45 has joined #ruby
roadie` has joined #ruby
riffraff45 has quit [Ping timeout: 256 seconds]
roadie` has quit [Ping timeout: 240 seconds]
roadie` has joined #ruby
roadie` has quit [Ping timeout: 252 seconds]
ur5us has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
riffraff45 has joined #ruby
riffraff45 has quit [Ping timeout: 256 seconds]
axisys has joined #ruby
<axisys> what is recommended way to install ruby on macos? or should that be a question for #macos?
<axisys> or #macosx rather
<nakilon> axisys install homebrew, then "brew install rbenv"
<nakilon> then "rbenv install -l" to list the most fresh versions for "rbenv install <version>"
hellstabber has joined #ruby
<nakilon> then rbenv shell/local/global to activate the version you like
hellstabber has quit [Client Quit]
hellstabber92 has joined #ruby
hololeap has quit [Remote host closed the connection]
roadie` has joined #ruby
hellstabber has joined #ruby
hololeap has joined #ruby
roadie` has quit [Ping timeout: 265 seconds]
hellstabber has quit [Quit: Leaving]
hellstabber92 has quit [Quit: Client closed]
roadie` has joined #ruby
Milos has quit [Quit: ZNC 1.8.2 - https://znc.in]
Milos has joined #ruby
roadie` has quit [Ping timeout: 240 seconds]
Milos has quit [Client Quit]
Milos has joined #ruby
roadie` has joined #ruby
roadie` has quit [Ping timeout: 265 seconds]
roadie` has joined #ruby
roadie` has quit [Ping timeout: 265 seconds]
roadie` has joined #ruby
roadie` has quit [Ping timeout: 265 seconds]
roadie` has joined #ruby
roadie` has quit [Ping timeout: 240 seconds]
<havenwood> axisys: chruby, asdf, rbenv, and RVM are all fine options for version switching
<havenwood> axisys: assuming you'll need multiple versions of Ruby at once, varied by project?
<havenwood> if you just want the latest modern stable Ruby and don't need to install specific versions you can also just install Ruby through Brew
<havenwood> usually devs need multiple versions, so version switches come into play
riffraff45 has joined #ruby
roadie` has joined #ruby
<ox1eef> discovered $SAFE is no more today.
riffraff45 has quit [Ping timeout: 256 seconds]
roadie` has quit [Ping timeout: 265 seconds]
roadie` has joined #ruby
Rounin has joined #ruby
roadie` has quit [Ping timeout: 252 seconds]
reset has quit [Quit: reset]
roadie` has joined #ruby
roadie` has quit [Ping timeout: 240 seconds]
roadie` has joined #ruby
ur5us has quit [Ping timeout: 252 seconds]
shlomo has joined #ruby
riffraff45 has joined #ruby
aeris has quit [Quit: ZNC - http://znc.sourceforge.net]
aeris has joined #ruby
riffraff45 has quit [Ping timeout: 256 seconds]
roadie` has quit [Ping timeout: 265 seconds]
shlomo_ has joined #ruby
shlomo_ has quit [Client Quit]
riffraff45 has joined #ruby
shlomo_ has joined #ruby
shlomo has quit [Ping timeout: 252 seconds]
krishnac has joined #ruby
krishnac has quit [Ping timeout: 240 seconds]
roadie` has joined #ruby
roadie` has quit [Ping timeout: 252 seconds]
FetidToot has quit [Ping timeout: 256 seconds]
FetidToot has joined #ruby
KarimullinArthur has joined #ruby
Jantz has joined #ruby
Jantz has quit [Excess Flood]
jmcgnh has quit [Ping timeout: 252 seconds]
jmcgnh has joined #ruby
roadie` has joined #ruby
KarimullinArthur has quit [Quit: KarimullinArthur]
FetidToot9 has joined #ruby
FetidToot has quit [Ping timeout: 240 seconds]
FetidToot9 is now known as FetidToot
Furai has quit [Quit: WeeChat 3.3]
Furai has joined #ruby
roadie` has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
gr33n7007h has quit [Ping timeout: 252 seconds]
BSaboia has joined #ruby
gr33n7007h has joined #ruby
TomyWork has joined #ruby
riffraff45 has quit [Quit: Client closed]
shlomo_ has quit [Quit: Leaving]
Guest36 has joined #ruby
Guest36 has quit [Quit: Client closed]
manveru[m]1 has joined #ruby
Bounga has joined #ruby
reset has joined #ruby
dohtem has quit [Quit: Connection closed for inactivity]
robotmay has quit [Quit: No Ping reply in 180 seconds.]
robotmay has joined #ruby
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
cognemo has quit [Quit: ZNC 1.8.2 - https://znc.in]
cognemo has joined #ruby
cognemo has quit [Client Quit]
cognemo has joined #ruby
tkonto has quit [Ping timeout: 265 seconds]
yxhuvud has joined #ruby
xyhuvud has quit [Ping timeout: 268 seconds]
hwrd has quit [Remote host closed the connection]
srushe has quit [Remote host closed the connection]
g_sg has quit [Remote host closed the connection]
hwrd has joined #ruby
srushe has joined #ruby
g_sg has joined #ruby
ivzhh has quit [Quit: WeeChat 2.8]
goldfish has joined #ruby
goldfish has quit [Ping timeout: 240 seconds]
kapil has quit [Ping timeout: 256 seconds]
kapil has joined #ruby
Oxfuxxx has quit [Ping timeout: 265 seconds]
Oxfuxxx_ has joined #ruby
Oxfuxxx_ has quit [Client Quit]
Oxfuxxx has joined #ruby
Bounga has quit [Ping timeout: 252 seconds]
dohtem has joined #ruby
<leftylink> and why not the other languages in OS?
<leftylink> hmmmmmmm
_ht has joined #ruby
<leftylink> ah too bad, what a bad bug I had
<leftylink> to check whether Array.new(5) { rand(1..5) } contains both 3 and 5. you cannot say `r & [3, 5] == [3, 5]`
<leftylink> pandabot: rb 100.times { r = (1..5).to_a.sample(3); raise "WRONG WRONG WRONG WRONG WRONG WRONG WRONG WRONG" if (r & [3, 5] == [3, 5]) != (r.include?(3) && r.include?(5)) }
<pandabot> stderr: -e:2:in `block in <main>': WRONG WRONG WRONG WRONG WRONG WRONG WRONG WRONG (RuntimeError) - exit 1 - https://carc.in/#/r/cf0a
ferr_ has joined #ruby
fercell has quit [Ping timeout: 252 seconds]
Pixi_ has quit [Quit: Leaving]
<havenwood> leftylink: for Sets there are good ways
Oxfuxxx has quit [Ping timeout: 268 seconds]
<havenwood> pandabot: rb Array.new(5) { rand(1..5) }.then { |numbers| [3, 5].all? { numbers.include?(_1) } }
<havenwood> leftylink: combining #all? and #include? is the standard way
Pixi has joined #ruby
<havenwood> Set[3, 5].subset? Set.new([*1..10].sample(4))
<havenwood> or you can write it
<havenwood> Set.new([*1..10].sample(4)) > Set[3, 5]
<havenwood> I look forward to the Set literal.
dostoyevsky2 has quit [Ping timeout: 268 seconds]
integral has quit [Ping timeout: 245 seconds]
integral has joined #ruby
pusewic|away_ has quit [Ping timeout: 264 seconds]
pusewic|away_ has joined #ruby
teclator has joined #ruby
FetidToot has quit [Quit: The Lounge - https://thelounge.chat]
FetidToot has joined #ruby
krishnac has joined #ruby
TomyWork has quit [Quit: Leaving]
Oxfuxxx has joined #ruby
krishnac has quit [Ping timeout: 265 seconds]
<leftylink> set literals would be cool
krishnac has joined #ruby
krishnac has quit [Ping timeout: 265 seconds]
leachim6 has quit [Ping timeout: 260 seconds]
hansolo has quit [Ping timeout: 260 seconds]
isene has quit [Ping timeout: 260 seconds]
hansolo has joined #ruby
isene has joined #ruby
leachim6 has joined #ruby
Rounin has quit [Ping timeout: 240 seconds]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
_ht has quit [Remote host closed the connection]
havenwood has quit [Quit: The Lounge - https://thelounge.chat]
havenwood has joined #ruby
roadie has joined #ruby
ur5us has joined #ruby
trillp has joined #ruby
Oxfuxxx_ has joined #ruby
Oxfuxxx has quit [Ping timeout: 265 seconds]
graywolf has joined #ruby
whysthatso12 has quit [Quit: Ping timeout (120 seconds)]
whysthatso12 has joined #ruby
shlomo has joined #ruby
<nakilon> I just sort
<nakilon> yet didn't have any case of a bottleneck here
tkonto has joined #ruby
krishnac has joined #ruby
krishnac has quit [Remote host closed the connection]
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
trillp has quit [Quit: nyaa~]
weaksauce has joined #ruby
kinduff has quit [Quit: Ping timeout (120 seconds)]
kinduff has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
BSaboia has joined #ruby
gr33n7007h has quit [Quit: WeeChat 3.3]
gr33n7007h has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
shlomo has quit [Quit: Leaving]
duds- has joined #ruby
Oxfuxxx_ has quit [Ping timeout: 240 seconds]
Oxfuxxx has joined #ruby