adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.1, 2.7.3, 2.6.7: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | BLM <3
braws has quit [Ping timeout: 246 seconds]
ap4y has joined #ruby
MalkbabY_ has joined #ruby
MalkbabY has quit [Ping timeout: 240 seconds]
dwpwsz has joined #ruby
ur5us has quit [Ping timeout: 276 seconds]
evdubs has quit [Quit: Leaving]
evdubs has joined #ruby
ur5us has joined #ruby
duderonomy has quit [Ping timeout: 252 seconds]
duderonomy has joined #ruby
Tempesta has quit [Quit: See ya!]
Dooky has joined #ruby
jdmark has joined #ruby
<jdmark> what would be a better first language, ruby or python?
elcuervo has quit [Read error: Connection reset by peer]
duderonomy has quit [Ping timeout: 240 seconds]
elcuervo has joined #ruby
Tempesta has joined #ruby
canbenshanlo has quit [Ping timeout: 246 seconds]
dwpwsz has quit [Ping timeout: 260 seconds]
<adam12> jdmark: I’d probably try both and then see which one is more preferred. They are fairly equivalent otherwise.
<adam12> jdmark: I personally could never adjust to the Python style of loops. Ruby’s Enumerable module makes much more sense to me.
<jdmark> but ruby is used mostly for web development?
<adam12> jdmark: Maybe the domain that makes the most noise, but not sure how true that is.
<adam12> jdmark: ie. DragonRuby, SciRuby, Chef/Salt, others I can’t think of.
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
<adam12> jdmark: Gotta run. Good luck on your search.
jmcgnh has quit [Ping timeout: 240 seconds]
<nakilon> every language is used mostly for web development
jmcgnh has joined #ruby
amba has joined #ruby
jdmark_ has joined #ruby
jdmark has quit [Ping timeout: 240 seconds]
jdmark3 has joined #ruby
jdmark has joined #ruby
jdmark_ has quit [Ping timeout: 252 seconds]
jdmark3 has quit [Ping timeout: 240 seconds]
jamees has joined #ruby
<nakilon> got weird bug
<nakilon> somehow either because of exception of because of ^C the logger ignored custom formatter for 4 lines
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nakilon> *or because
evdubs_ has joined #ruby
evdubs has quit [Ping timeout: 240 seconds]
cer-0 has quit [Ping timeout: 240 seconds]
deviantfero has joined #ruby
cer-0 has joined #ruby
gearnode has quit [Ping timeout: 246 seconds]
yuesbeez has quit [Quit: Connection closed for inactivity]
deviantfero has quit [Ping timeout: 240 seconds]
duderonomy has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
amba has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 250 seconds]
ur5us has joined #ruby
prion has joined #ruby
Dooky has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MalkbabY_ is now known as Malkbaby
Malkbaby is now known as MalkbabY
ChmEarl has quit [Quit: Leaving]
Hea has joined #ruby
Rudd0 has joined #ruby
m27frogy has quit [Ping timeout: 240 seconds]
prion has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Quit: Lost terminal]
dinfuehr_ has joined #ruby
dinfuehr has quit [Ping timeout: 268 seconds]
dinfuehr_ has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
MalkbabY has quit [Remote host closed the connection]
robotbee has quit [Ping timeout: 252 seconds]
MalkbabY has joined #ruby
jenrzzz has joined #ruby
dinfuehr has quit [Ping timeout: 246 seconds]
dinfuehr has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
jenrzzz has quit [Quit: Lost terminal]
jetchisel has quit [Ping timeout: 252 seconds]
jetchisel has joined #ruby
cer-0 has quit [Quit: leaving]
jenrzzz has joined #ruby
moldorcoder7 has quit [Quit: %bye mirc%]
ur5us has quit [Ping timeout: 250 seconds]
Rudd0 has quit [Ping timeout: 252 seconds]
StarOnD has joined #ruby
jenrzzz has quit [Quit: Lost terminal]
moldorcoder7 has joined #ruby
teclator has joined #ruby
queip has joined #ruby
jenrzzz has joined #ruby
dviola has quit [Ping timeout: 240 seconds]
evdubs__ has joined #ruby
robotbee has joined #ruby
evdubs_ has quit [Ping timeout: 240 seconds]
dviola has joined #ruby
dviola has joined #ruby
dviola has quit [Changing host]
StarOnD has quit [Quit: Connection closed]
Hea has quit [Remote host closed the connection]
dviola has quit [Ping timeout: 240 seconds]
dviola has joined #ruby
jamees has quit [Ping timeout: 240 seconds]
dviola has quit [Changing host]
dviola has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
Guest10524 has left #ruby [#ruby]
robotbee has quit [Ping timeout: 252 seconds]
duderonomy has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
cgfbee has quit [Ping timeout: 240 seconds]
prion has joined #ruby
Guest10524 has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
cgfbee has joined #ruby
duderonomy has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
Bounga has joined #ruby
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
s2013 has joined #ruby
ap4y has quit [Quit: WeeChat 3.1]
Bounga has quit [Remote host closed the connection]
prion has quit [Ping timeout: 240 seconds]
jla has joined #ruby
ur5us has joined #ruby
alexherbo2 has joined #ruby
gearnode has joined #ruby
chkilroy has quit [Quit: bye]
chkilroy has joined #ruby
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
prion has joined #ruby
gradio has joined #ruby
gradio has left #ruby ["Leaving"]
jenrzzz has quit [Ping timeout: 260 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
mangold has joined #ruby
cognemo has joined #ruby
shokohsc68 has quit [Read error: Connection reset by peer]
mangold has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 245 seconds]
shokohsc68 has joined #ruby
Bounga has joined #ruby
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
Rudd0 has joined #ruby
shokohsc68 has quit [Quit: The Lounge - https://thelounge.chat]
shokohsc68 has joined #ruby
_nick_ has joined #ruby
royo25 has joined #ruby
_nick_ has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
Rudd0^ has joined #ruby
prion has quit [Ping timeout: 246 seconds]
Rudd0 has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
m27frogy has joined #ruby
gemmaro has joined #ruby
jla has quit [Ping timeout: 265 seconds]
mangold has joined #ruby
cliluw has quit [Ping timeout: 260 seconds]
Rudd0^ has quit [Ping timeout: 240 seconds]
jla has joined #ruby
hiroaki has joined #ruby
jenrzzz has joined #ruby
romanlevin333236 has joined #ruby
edwardly has quit [Ping timeout: 240 seconds]
jla has quit [Ping timeout: 268 seconds]
canbenshanlo has joined #ruby
da2dalus_ has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
mangold has quit [Ping timeout: 252 seconds]
bl4ckthor has joined #ruby
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
da2dalus_ is now known as da2dalus
mangold has joined #ruby
mangold has quit [Client Quit]
mangold has joined #ruby
jenrzzz has joined #ruby
mangold has quit [Client Quit]
mangold has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
shtirlic has quit [Quit: Lost terminal]
stryek has joined #ruby
jla has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
mangold has quit [Quit: Leaving]
cthulchu_ has joined #ruby
Dooky has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
gemmaro has quit [Ping timeout: 250 seconds]
mangold has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
mangold has quit [Quit: Leaving]
mangold has joined #ruby
gemmaro has joined #ruby
<_rg> nakilon: ^C raises Interrupt.
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
smurfke has quit [Remote host closed the connection]
mangold has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
Bounga has quit [Ping timeout: 260 seconds]
robotbee has joined #ruby
ChmEarl has joined #ruby
hiroaki has quit [Ping timeout: 260 seconds]
deviantfero has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
hiroaki has joined #ruby
jenrzzz has joined #ruby
jordanm has quit [Remote host closed the connection]
jordanm has joined #ruby
shtirlic has joined #ruby
cliluw has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
orbyt_ has joined #ruby
cer-0 has joined #ruby
jla has quit [Ping timeout: 252 seconds]
cuerbot has joined #ruby
elcuervo has quit [Ping timeout: 240 seconds]
totoro2021 has joined #ruby
totoro2021 has quit [Client Quit]
jla has joined #ruby
totoro2021 has joined #ruby
cer-0 has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
alexherbo27 has joined #ruby
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo27 is now known as alexherbo2
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
da2dalus has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
SYNTAXX-3RR0R has joined #ruby
jenrzzz has joined #ruby
<nakilon> no way!
<nakilon> but how does that makes logger forget about custom formatting?
<nakilon> also progname looked like being nil
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
gemmaro has quit [Ping timeout: 276 seconds]
cer-0 has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
alexherbo29 has joined #ruby
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo29 is now known as alexherbo2
rubydoc has quit [Ping timeout: 246 seconds]
phaul has quit [Ping timeout: 268 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
konsolebox has quit [Ping timeout: 268 seconds]
konsolebox has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
SYNTAXX-3RR0R has quit [Quit: Lost terminal]
jenrzzz has joined #ruby
Azure has quit [Remote host closed the connection]
Azure has joined #ruby
orbyt_ has joined #ruby
<nakilon> raw IRC logs are not neat looking, it includes PRIVMSG, JOIN PART MOTD, etc.
jenrzzz has quit [Ping timeout: 246 seconds]
<nakilon> this is enough neat looking https://freenode.irclog.whitequark.org/ruby/2021-05-13
<nakilon> oh no, wrong channel, sry
jenrzzz has joined #ruby
<adam12> LocalJumpError, why do you hurt me so.
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
Rudd0 has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
royo25 has quit [Quit: Bye]
prion has joined #ruby
sylario has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bl4ckthor has quit [Ping timeout: 240 seconds]
jamees has joined #ruby
s2013 has joined #ruby
_nick_ has joined #ruby
alexherbo2 has quit [Ping timeout: 265 seconds]
_nick_ has quit [Remote host closed the connection]
_nick_ has joined #ruby
_nick_ has quit [Read error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number]
_nick_ has joined #ruby
_nick_ has quit [Remote host closed the connection]
_nick_ has joined #ruby
jla has quit [Ping timeout: 252 seconds]
_nick_ has quit [Read error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number]
_nick_ has joined #ruby
_nick_ has quit [Read error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number]
_nick_ has joined #ruby
_nick_ has quit [Read error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number]
_nick_ has joined #ruby
jla has joined #ruby
_nick_ has quit [Remote host closed the connection]
_nick_ has joined #ruby
__nick__ has joined #ruby
howdoi has joined #ruby
Rudd0^ has joined #ruby
Rudd0 has quit [Ping timeout: 260 seconds]
User4588 has quit [Remote host closed the connection]
User4588 has joined #ruby
alexherbo2 has joined #ruby
<User4588> Hi, with IO::foreach how do you keep an index for each lines?
<konsolebox> Using with_index probably.
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
<User4588> konsolebox nicely done how does it works under the hood, I saw IO::foreach returns an array of string?
<adam12> User4588: You can chain Enumerable methods, so it would be `foreach.with_index do |line, index|`
<User4588> adam12 Thanks I answered myself my question too
<User4588> :)
<adam12> User4588: Cool.
vondruch has quit [Read error: Connection reset by peer]
__nick__ has quit [Remote host closed the connection]
_nick_ has quit [Remote host closed the connection]
jla has quit [Ping timeout: 240 seconds]
__nick__ has joined #ruby
_nick_ has joined #ruby
alexherbo2 has quit [Ping timeout: 268 seconds]
Rudd0^ has quit [Ping timeout: 268 seconds]
cer-0 has quit [Quit: leaving]
alexherbo2 has joined #ruby
wald0 has joined #ruby
jess has quit []
jamees has quit [Quit: Connection closed]
jla has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
ideentwickler has quit [Ping timeout: 268 seconds]
ideentwickler has joined #ruby
jenrzzz has joined #ruby
ideentwickler has quit [Ping timeout: 246 seconds]
lucasb has joined #ruby
ideentwickler has joined #ruby
jla has quit [Ping timeout: 252 seconds]
orbyt_ has joined #ruby
evdubs__ is now known as evdubs
mangold has joined #ruby
pyra has joined #ruby
SpacePlod has joined #ruby
Guest86959 has joined #ruby
mangold has quit [Ping timeout: 265 seconds]
tpanarch1st has joined #ruby
<SpacePlod> I'm trying to build the progit books and the first step in the run "bundle install". When I do that, I get this: https://gist.github.com/bgrundy/e7b5559560890565717f964471b0ac8d It seems to indicate a version problem with ruby, but the version is 3.0.1p64 (version output at the bottom of the paste). All the required gems are installed. I'm not familiar with ruby/gems. Am I missing something?
<SpacePlod> *is to run "bundle install"
mangold has joined #ruby
s2013 has quit [Remote host closed the connection]
voker57 has joined #ruby
<weaksauce> SpacePlod use a ruby 2
<adam12> SpacePlod: As mentioned, you need a Ruby 2 version. Ruby 3 is very recent (~ 5 months) and not all gems have support for it yet.
cd has joined #ruby
MalkbabY_ has joined #ruby
duderonomy has joined #ruby
<_rg> does ruby3 have breaking changes? i didnt notice.
<SpacePlod> Thanks. I read up a little and just installed rbenv and then set the system ruby version to 2.7.3. I may very well be doing it wrong, but I still get the same errors.
<SpacePlod> rbenv versions returns system/2.7.3 and rbenv local in the project directory returns system.
<_rg> did you update your .bashrc/.zshrc - it sounds like the old ruby is still winning. ruby -v should show 2.7.3
<_rg> you'll need to install bundler for 2.7 as well, and iirc you need to run rbenv rehash to get updated binstubs.
gmcintire has quit [*.net *.split]
Nightmare has quit [*.net *.split]
salvor- has quit [*.net *.split]
seb___ has quit [*.net *.split]
seb_ has joined #ruby
gmcintire has joined #ruby
Nightmare has joined #ruby
salvor has joined #ruby
MalkbabY has quit [Ping timeout: 240 seconds]
<SpacePlod> Ah. Thanks. didn't do any of that.
<adam12> _rg: Keyword argument handling is no longer a warning as in 2.7.
evdubs has quit [Ping timeout: 240 seconds]
mangold has quit [Ping timeout: 265 seconds]
<SpacePlod> Hmmm... So I edited my bash config, restarted a shell and set rbenv shell to 2.7.3 - now rbenv shell returns "system" and rbenv versions still shows "system/2.7.3". But ruby -v still returns 3.0.1... I using rbenv wrong somehow.
<_rg> adam12: thanks
<SpacePlod> ...or misunderstanding it's purpose.
<_rg> yeah
<_rg> there's a missing piece in there somewhere
<_rg> i don't use rbenv to know much of its particulars
<weaksauce> i'd use asdf if i were to start now but i use chruby usually and it works well / is simple
<_rg> im also using chruby
* SpacePlod googles chruby
mangold has joined #ruby
mangold has quit [Max SendQ exceeded]
mangold has joined #ruby
<_rg> chruby is pretty simple and if you know where ruby 2.7 is installed, you can point it to that directory to avoid recompiling again. i recommend taking a bit of time to read through the instructions because you usually have to update a shell rc file at least.
<nakilon> as I understand the chruby is only a switcher between rubies
<_rg> yep
<nakilon> rbenv includes installer/compiler
<_rg> yeah, there's trade offs between them all. `rbenv rehash` is a bit annoying.
<weaksauce> yeah chruby with ruby-install is what i use
<nakilon> today I git cloned my code to a server, did "rbenv install" and it installed the version that was specifried in .ruby-version file
<nakilon> I never do rbenv rehash
<_rg> maybe they changed that. it's been years.
evdubs has joined #ruby
Guest86959 has quit [Ping timeout: 260 seconds]
<SpacePlod> I'm going to read up on chruby and try again later - thanks for the pointers.
<adam12> SpacePlod: This line is interesting: * system (set by RBENV_VERSION environment variable)
<adam12> SpacePlod: I’m not a rbenv user tho, so maybe that’s how it’s supposed to be.
prion has quit [Ping timeout: 240 seconds]
<adam12> SpacePlod: Somewhere you need to switch rbenv version tho. `rbenv shell 2.7.3`
hiroaki has quit [Ping timeout: 260 seconds]
deviantfero has quit [Ping timeout: 252 seconds]
deviantfero has joined #ruby
mangold has quit [Ping timeout: 240 seconds]
prion has joined #ruby
hiroaki has joined #ruby
mangold has joined #ruby
wallacer has quit [Quit: No Ping reply in 180 seconds.]
<nakilon> rbenv shell --unset
<nakilon> maybe
<nakilon> but it will fallback to system I guess
<nakilon> basically seeing versions mismatch means the rhing in .bash_profile wasn't added properly
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<nakilon> *thing
wallacer has joined #ruby
Chocol4teArmpits has joined #ruby
jla has joined #ruby
alexherbo29 has joined #ruby
alexherbo2 has quit [Ping timeout: 252 seconds]
alexherbo29 is now known as alexherbo2
joast has quit [Ping timeout: 252 seconds]
robotbee has quit [Ping timeout: 260 seconds]
gearnode has quit [Ping timeout: 276 seconds]
Dooky has quit [Quit: ZZZzzz…]
Chocol4teArmpits has quit [Remote host closed the connection]
prion has quit [Ping timeout: 265 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gwvs has joined #ruby
gwvs has quit [Remote host closed the connection]
ur5us has joined #ruby
jla has quit [Ping timeout: 246 seconds]
Dooky has joined #ruby
mangold has quit [Ping timeout: 240 seconds]
mer1jn has joined #ruby
mer1jn has quit [Remote host closed the connection]
pyra has quit [Quit: Konversation terminated!]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
Rudd0 has joined #ruby
claw has quit [Ping timeout: 260 seconds]
claw has joined #ruby
Rudd0^ has joined #ruby
Rudd0 has quit [Ping timeout: 240 seconds]
beser has joined #ruby
__nick__ has quit [Ping timeout: 240 seconds]
_nick_ has quit [Ping timeout: 265 seconds]
ap4y has joined #ruby
_nick_ has joined #ruby
__nick__ has joined #ruby
orbyt_ has joined #ruby
_nick_ has quit [Read error: Connection reset by peer]
__nick__ has quit [Read error: Connection reset by peer]
claw has quit [Ping timeout: 260 seconds]
__nick__ has joined #ruby
gearnode has joined #ruby
shokohsc68 has quit [Quit: The Lounge - https://thelounge.chat]
claw has joined #ruby
FetidToot has quit [Quit: Ping timeout (120 seconds)]
FetidToot has joined #ruby
shokohsc68 has joined #ruby
__nick__ has quit [Ping timeout: 252 seconds]
gemmaro has joined #ruby
cthulchu_ has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
stryek has quit [Quit: Connection closed for inactivity]
jenrzzz has quit [Ping timeout: 246 seconds]
<weaksauce> SpacePlod it has system ruby selected
<weaksauce> anyway i don't like how rbenv works
<weaksauce> i'd use chruby
jenrzzz has joined #ruby
joast has joined #ruby
wald0 has quit [Quit: leaving]
hiroaki has quit [Ping timeout: 260 seconds]
Roonin has joined #ruby
alexherbo2 has quit [Ping timeout: 240 seconds]
gemmaro has quit [Ping timeout: 250 seconds]