havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.0, 2.7.2, 2.6.6: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.org | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | BLM <3
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rounin has quit [Ping timeout: 256 seconds]
ErhardtMundt has joined #ruby
contradictioned has joined #ruby
hagebake has joined #ruby
endorama_ has joined #ruby
gdc_m has joined #ruby
ur5us has joined #ruby
KrzaQ- has joined #ruby
hagabaka has quit [*.net *.split]
endorama has quit [*.net *.split]
ErhardtMundt_ has quit [*.net *.split]
KrzaQ has quit [*.net *.split]
KrzaQ- has quit [Quit: :(]
jenrzzz has joined #ruby
KrzaQ has joined #ruby
gdc_m has quit [Quit: gdc_m]
s3nd1v0g1us has quit [Quit: WeeChat 2.8]
gdc_m has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
gdc_m has quit []
rzjian has joined #ruby
gdc_m has joined #ruby
gdc_m has quit [Client Quit]
gdc_m has joined #ruby
gdc_m has quit [Client Quit]
Technodrome has joined #ruby
blackmesa has joined #ruby
jla has quit [Ping timeout: 256 seconds]
blackmesa has quit [Ping timeout: 272 seconds]
nertzy has joined #ruby
GodFather has quit [Ping timeout: 258 seconds]
gix has quit [Ping timeout: 256 seconds]
Axy has joined #ruby
Mia has quit [Ping timeout: 240 seconds]
Mrgoose has quit [Remote host closed the connection]
Mrgoose has joined #ruby
Mrgoose has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
Mrgoose has joined #ruby
TomyLobo has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
baojg has joined #ruby
reyfi9e has joined #ruby
Mrgoose has quit [Remote host closed the connection]
kristian_on_linu has quit [Remote host closed the connection]
kloeri has quit [Ping timeout: 606 seconds]
mic_e_ has joined #ruby
mic_e_ has quit [Ping timeout: 265 seconds]
ur5us_ has joined #ruby
kloeri has joined #ruby
blackmesa has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
blackmesa has quit [Ping timeout: 258 seconds]
<baweaver> So instead of posting a ton of links all the time I've decided to condense things into a weekly mailing list:
<baweaver> It's a combination of my recent talks, articles, ideas, what I'm reading, thinking on, and other Ruby and programming related content.
<baweaver> It'll also include whatever interesting things I've been reading from other Rubyists as a semi-aggregator.
jenrzzz has quit [Ping timeout: 264 seconds]
goepsilongo has quit [Quit: Konversation terminated!]
noctux has quit [Ping timeout: 256 seconds]
TzilTzal has joined #ruby
rzjian has quit [Ping timeout: 258 seconds]
orbyt_ has joined #ruby
jenrzzz has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
ur5us_ has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
neshpion has quit [Quit: neshpion]
maryo87 has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
maryo_87 has joined #ruby
maryo87 has quit [Ping timeout: 258 seconds]
m27frogy has quit [Ping timeout: 264 seconds]
emptyflask has quit [Quit: WeeChat 2.9]
noctux has joined #ruby
maryo87 has joined #ruby
maryo_87 has quit [Ping timeout: 240 seconds]
noctux has quit [Ping timeout: 264 seconds]
jmcgnh has quit [Ping timeout: 256 seconds]
ChmEarl has quit [Quit: Leaving]
jmcgnh has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
noctux has joined #ruby
noctux has quit [Ping timeout: 258 seconds]
rzjian has joined #ruby
noctux has joined #ruby
Technodrome has joined #ruby
TzilTzal has quit [Ping timeout: 240 seconds]
TzilTzal has joined #ruby
blackmesa has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DTZUZU has joined #ruby
zacts has joined #ruby
zacts has left #ruby [#ruby]
sinan has joined #ruby
nekito has joined #ruby
<nakilon> 17:17:11 <nakilon> hmmm, for some reason the resulting jar works not always the same
<nakilon> I was wrong; it was a mistake in tests; jruby has passed tests, but I had to increase timeouts from 1 to 4 if "java" == RUBY_PLATFORM
akmed has quit [Ping timeout: 258 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schaerli has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
ur5us_ has joined #ruby
fercell has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
ua has quit [Ping timeout: 272 seconds]
fercell has quit [Ping timeout: 258 seconds]
fercell has joined #ruby
ua has joined #ruby
sinan has quit [Quit: sinan]
sinan has joined #ruby
rzjian has quit [Ping timeout: 240 seconds]
rzjian has joined #ruby
<nakilon> havenwood, so I've started removing files from the jar; how do I understand what the "tables/Transcoder_Big5_WordArray.bin" is for example?
<nakilon> I removed some openssl/crypto libs and for some reason even exe, dll -- the resulting jar is now 30% smaller
TomyWork has joined #ruby
<nakilon> lol I see someone already asked it https://irclog.whitequark.org/jruby/2016-11-18#18210260;
asdasdzzzzzz has joined #ruby
schne1der has joined #ruby
<nakilon> java world is all undocumented and obscure -- you have the library name but even google can't tell what is it for
venmx has quit [Ping timeout: 246 seconds]
vondruch_ has joined #ruby
ur5us_ has quit [Remote host closed the connection]
nofxx__ has joined #ruby
ur5us_ has joined #ruby
ur5us_ has quit [Remote host closed the connection]
nofxx_ has quit [Ping timeout: 265 seconds]
jla has joined #ruby
venmx has joined #ruby
alexherbo2 has joined #ruby
bougyman has quit [Ping timeout: 260 seconds]
venmx has quit [Ping timeout: 265 seconds]
Rounin has joined #ruby
bougyman has joined #ruby
blackmesa has joined #ruby
SeepingN has joined #ruby
SeepingN has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
SeepingN has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
SeepingN has quit [Ping timeout: 240 seconds]
kaivai has quit [Ping timeout: 268 seconds]
kaivai has joined #ruby
nicolas_ has quit [Remote host closed the connection]
queip has quit [Ping timeout: 258 seconds]
nekito has quit [Ping timeout: 256 seconds]
SeepingN has joined #ruby
al2o3-cr has quit [Ping timeout: 256 seconds]
SeepingN has quit [Ping timeout: 256 seconds]
rzjian has quit [Ping timeout: 258 seconds]
baojg_ has joined #ruby
baojg has quit [Ping timeout: 264 seconds]
baojg_ has quit [Remote host closed the connection]
gdc_m has joined #ruby
tris has quit [Ping timeout: 256 seconds]
postmodern has quit [Quit: Leaving]
dfucci has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
maryo_87 has joined #ruby
maryo87 has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
mic_e_ has joined #ruby
mic_e_ has quit [Ping timeout: 265 seconds]
venmx has joined #ruby
vondruch__ has joined #ruby
vondruch__ has left #ruby [#ruby]
vondruch_ has quit [Ping timeout: 256 seconds]
venmx has quit [Ping timeout: 256 seconds]
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #ruby
Technodrome has joined #ruby
schaerli has quit [Ping timeout: 240 seconds]
ekinox has joined #ruby
venmx has joined #ruby
venmx has quit [Ping timeout: 246 seconds]
TCZ has joined #ruby
alexherbo2 has quit [Ping timeout: 240 seconds]
baojg has joined #ruby
gdc_m has quit [Quit: gdc_m]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
m27frogy has joined #ruby
SeepingN has joined #ruby
SeepingN has quit [Ping timeout: 265 seconds]
cuerbot has joined #ruby
schaerli has joined #ruby
elcuervo has quit [Ping timeout: 256 seconds]
alexherbo2 has joined #ruby
schaerli has quit [Ping timeout: 258 seconds]
alexherbo2 has quit [Ping timeout: 272 seconds]
linoge has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
linoge has quit [Client Quit]
TzilTzal has quit [Quit: Leaving.]
asdasdzzzzzz has quit [Quit: Leaving]
linoge has joined #ruby
somazero has joined #ruby
<TomyWork> does "bundle install" have a dry-run option?
somazero has quit [Quit: Leaving]
einyoul has joined #ruby
Rudd0 has quit [Ping timeout: 258 seconds]
cow[moo] has quit [Quit: Textual IRC Client: www.textualapp.com]
longnguyen has joined #ruby
jla has quit [Ping timeout: 246 seconds]
longnguyen has quit [Quit: Connection closed]
Some-body_ has joined #ruby
chouhoulis has joined #ruby
DarthGandalf has quit [Ping timeout: 264 seconds]
Some-body_ is now known as DarthGandalf
baojg has quit [Remote host closed the connection]
TCZ has quit [Remote host closed the connection]
cow[moo] has joined #ruby
mr_rich101 has quit [Quit: ZNC - http://znc.in]
mr_rich101 has joined #ruby
ekinox has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
gdc_m has joined #ruby
x0n has quit [Excess Flood]
x0n has joined #ruby
venmx has joined #ruby
venmx has quit [Ping timeout: 258 seconds]
TCZ has joined #ruby
ekinox has joined #ruby
SuperLag has quit [Quit: leaving]
jenrzzz has joined #ruby
SuperLag has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
dinfuehr has quit [Ping timeout: 240 seconds]
gdc_m has quit [Quit: gdc_m]
dinfuehr has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN has joined #ruby
jinie has joined #ruby
shokohsc has quit [Quit: The Lounge - https://thelounge.chat]
jinie has quit [Quit: ZNC 1.8.2 - https://znc.in]
iNs has quit [Ping timeout: 268 seconds]
shokohsc has joined #ruby
iNs has joined #ruby
jla has joined #ruby
einyoul has quit [Ping timeout: 264 seconds]
fandre1986 has joined #ruby
al2o3-cr has joined #ruby
jlindgren has joined #ruby
venmx has joined #ruby
neshpion has joined #ruby
ekinox has quit [Remote host closed the connection]
ekinox has joined #ruby
prestorium has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN has joined #ruby
<c355e3b> bundle check
Rudd0 has joined #ruby
ChmEarl has joined #ruby
TCZ has quit [Remote host closed the connection]
akmed has joined #ruby
akem_ has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
pgib has quit [Ping timeout: 240 seconds]
ekinox has quit [Read error: Connection reset by peer]
akem has quit [Ping timeout: 240 seconds]
fandre1986 has quit [Quit: Connection closed]
* jla as newbie, sometimes gets puzzled with diferent ruby versions to use ...
<havenwood> jla: 3.0
<jla> havenwood ... i'm mainly starting to use ruby, with Jekyll
<jla> is 3.0 still the suggested version to use in my system ? should'n i wait a few months until Jekyll catchs up or something ?
alexherbo2 has joined #ruby
venmx has quit [Remote host closed the connection]
<jla> yet, my question is ... when defining a 'rvm ruby-version' ... does it persists along system reboots as the by default ruby version ?
<havenwood> jla: The latest stable version is Ruby is Ruby 3.0, which is what you should use.
<havenwood> jla: rvm use --default 3.0.0
<havenwood> jla: You can see here that Jekyll passes Ruby 3.0 tests. https://github.com/jekyll/jekyll/runs/1813974331?check_suite_focus=true
<jla> nice to know
<havenwood> jla: Just always use the latest stable version of Ruby.
<jla> yay... let's go with (faster and better ?) ruby 3.0
<jla> i should positively notice on (jekyll) build shorter times ... may i guess ?
mic_e_ has joined #ruby
mic_e_ has quit [Ping timeout: 264 seconds]
<havenwood> jla: If you compared to older, now unsupported Rubies you'd probably notice a substantial difference. Benchmark it if you're curious.
<havenwood> I wouldn't expect substantial difference between recent minor versions.
einyoul has joined #ruby
<havenwood> For ERB templates #bind_call might help a bit.
<havenwood> &>> Object.instance_method(:==).bind(42).call(43)
<rubydoc> # => false (https://carc.in/#/r/acpk)
<havenwood> &>> Object.instance_method(:==).bind_call(42, 43)
<rubydoc> # => false (https://carc.in/#/r/acpl)
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
SeepingN has joined #ruby
prestorium has quit [Ping timeout: 258 seconds]
prestorium has joined #ruby
schne1der has quit [Quit: schne1der]
einyoul has quit [Quit: Connection closed]
TomyWork has quit [Remote host closed the connection]
havenwood has quit [Quit: ZNC - https://znc.in]
havenwood has joined #ruby
havenwood has joined #ruby
<nakilon> 19:26:07 <havenwood> jla: The latest stable version is Ruby is Ruby 3.0
<nakilon> so stable that it segfaulted yesterday for me
<jla> umh
<havenwood> nakilon: You can make any version of Ruby segfault. ¯\_(ツ)_/¯
<jla> nice to know
<nakilon> havenwood but other versions didn't segfault
<havenwood> nakilon: What segfaulted?
<nakilon> have no idea, it was just the line in Github Action: segfault.
<isene> Memory lapse; How do I do something like this (none of them work); while chr != "ENTER" || chr != "+" || chr != "-" || chr != "*" || chr != "/" ; while chr != ("ENTER" || "+" || "-" || "*" || "/"
<nakilon> lol it's always true
<nakilon> while chr != "+" && chr != "-" && ...
<havenwood> isene: %w[ENTER + - * /].include?(chr)
<nakilon> until %w{ + - ENTER ... }.include?(chr)
<havenwood> isene: It seems a character couldn't ever be "ENTER" since it's multiple characters. :P
<havenwood> &>> %w[ENTER + - * /].include? '+'
<rubydoc> # => true (https://carc.in/#/r/acpm)
<havenwood> &>> %w[ENTER + - * /].none? '+'
<rubydoc> # => false (https://carc.in/#/r/acpn)
Tempesta_ has joined #ruby
<alexherbo2> hello
<havenwood> alexherbo2: hi
Tempesta has quit [Read error: Connection reset by peer]
<alexherbo2> yo havenwood o/
<alexherbo2> is there a recommendation where to locate factories?
<alexherbo2> spec/factories/post.rb, spec/factories/posts.rb, spec/factories/post_factory.rb or something else?
<alexherbo2> I haven't found what was used on factorybot
<nakilon> there was some method that listed all defined factories
elcontrastador has joined #ruby
<nakilon> or do you mean where to place them?
elcontrastador has quit [Client Quit]
<alexherbo2> yep where to place them
jenrzzz has joined #ruby
<alexherbo2> according to the link in https://www.betterspecs.org#factories, it seems to be spec/factories/posts.rb
al2o3-cr has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
sinan has quit [Quit: sinan]
al2o3-cr has joined #ruby
cb- has quit [Ping timeout: 260 seconds]
cb- has joined #ruby
orbyt_ has joined #ruby
<isene> The match is either "ENTER" (the full word) or "+" or "-", etc.
<isene> It should not match e.g. "EN"
al2o3-cr has quit [Ping timeout: 256 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> isene: Try it in irb.
<havenwood> &>> %w[ENTER + - * /].none? 'EN'
<rubydoc> # => true (https://carc.in/#/r/acpp)
<nakilon> &>> %w{ ENTER + - * / }
<rubydoc> # => ["ENTER", "+", "-", "*", "/"] (https://carc.in/#/r/acpq)
<havenwood> isene: If you wanted to allow partial matches, you could use Abbrev.
<havenwood> &>> require 'abbrev'; Abbrev.abbrev %w[ENTER + - * /]
<rubydoc> # => {"ENTER"=>"ENTER", "ENTE"=>"ENTER", "ENT"=>"ENTER", "EN"=>"ENTER", "E"=>"ENTER", "+"=>"+", "-"=>"-", "*"=>"*", "/"=>"/"} (https://carc.in/#/r/acpr)
jenrzzz has joined #ruby
<isene> Thanks 😊
Aguiar has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
einyoul has joined #ruby
Technodrome has joined #ruby
jla has quit [Ping timeout: 240 seconds]
<alexherbo2> I have a `shared_examples 'a Pokemon'`, how to do `it_behaves_like 'a Pokemon'` for a collection?
<alexherbo2> currently I just do: `it { expect(pokemons).to all be_a Pokemon }`
einyoul has quit [Quit: Connection closed]
iNs has quit [Ping timeout: 268 seconds]
maryo_87 has quit [Ping timeout: 240 seconds]
iNs has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN has joined #ruby
ritsch_master has joined #ruby
powerhouse_ has joined #ruby
EdwardIII has quit [Quit: ZNC 1.6.3+deb1ubuntu0.2 - http://znc.in]
EdwardIII has joined #ruby
al2o3-cr has joined #ruby
alexherbo2 has quit [Ping timeout: 256 seconds]
gix has joined #ruby
rwb has joined #ruby
<ritsch_master> anyone using rake for anything else then ruby?
<ritsch_master> like instead of autotools or cmake?
jenrzzz has quit [Ping timeout: 256 seconds]
<apotheon> I've heard of people doing so, but I don't do it.
kristian_on_linu has joined #ruby
shokohsc has quit [Quit: The Lounge - https://thelounge.chat]
Aguiar has quit [Ping timeout: 240 seconds]
shokohsc has joined #ruby
<ritsch_master> i really wonder if there is actually a real benefit of doing so
<ritsch_master> like a practical benefit and not just "i could run a webserver on top of rake if i want to"
hiroaki has quit [Remote host closed the connection]
hiroaki has joined #ruby
kristian_on_linu has quit [Remote host closed the connection]
jenrzzz has joined #ruby
<phaul> I imagine there are people familiar with ruby but not familiar / keen on make. So it can be a knowledge base based decesion.
<phaul> If I had to do it, I would go with rake, but that
<phaul> 's prly because my lack of knowledge in the rest
<havenwood> I like the looks of bake.
<havenwood> I do prefer baking to raking, so checks out.
einyoul has joined #ruby
<phaul> ritsch_master: practical benefit: you have a real programming language behind your back that was designed to be programmed in, not just a gmake like monstrosety that does multu level substitutions like ${$($VAR[....
<ritsch_master> phaul: but autoconf + autotools literally gives you everything you need including compilation with pkg-config libraries at your fingertips
<phaul> yeah, it might be more geared towards specific needs. If that matches your needs prly that should be your choice. rake is more of a programmable tool, more generic, less specific
jla has joined #ruby
hiroaki has quit [Remote host closed the connection]
jlindgren has quit [Quit: ZNC 1.8.2 - https://znc.in]
jlindgren has joined #ruby
hiroaki has joined #ruby
dfucci has quit [Ping timeout: 240 seconds]
bvdw4 has quit [Quit: The Lounge - https://thelounge.chat]
bvdw4 has joined #ruby
jla has quit [Ping timeout: 276 seconds]
linoge has quit [Remote host closed the connection]
linoge has joined #ruby
fercell has quit [Ping timeout: 240 seconds]
linoge has quit [Ping timeout: 258 seconds]
fercell has joined #ruby
ritsch_master has quit [Ping timeout: 240 seconds]
dfucci has joined #ruby
dfucci has quit [Ping timeout: 276 seconds]
linoge has joined #ruby
linoge has quit [Ping timeout: 276 seconds]
al2o3-cr has quit [Quit: WeeChat 3.0]
dfucci has joined #ruby
dfucci has quit [Ping timeout: 258 seconds]
al2o3-cr has joined #ruby
jcsmit17 has joined #ruby
fercell has quit [Ping timeout: 240 seconds]
al2o3-cr-tmp has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jcsmit17> When attempting to bundle install curb (v 0.9.11) on my Windows machine, I receive an installation error. Attempting to resolve this by having curl-7.74.0 in my path does not solve the issue. Snippet is present here: https://dpaste.org/pSvk
<jcsmit17> Is there any other steps I can take to troubleshoot this gem installation?
al2o3-cr has quit [Ping timeout: 256 seconds]
cnsvc has joined #ruby
SeepingN has joined #ruby
al2o3-cr-null has joined #ruby
al2o3-cr-tmp has quit [Ping timeout: 256 seconds]
chouhoulis has quit [Quit: Leaving...]
jenrzzz_ has joined #ruby
einyoul_ has joined #ruby
bvdw48 has joined #ruby
dfucci has joined #ruby
bvdw4 has quit [Read error: Connection reset by peer]
einyoul has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Ping timeout: 276 seconds]
dfucci has quit [Ping timeout: 264 seconds]
al2o3-cr-null has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby
al2o3-cr has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
linoge has joined #ruby
ruby[bot] has joined #ruby
linoge has quit [Read error: Connection reset by peer]
linoge has joined #ruby
linoge has quit [Ping timeout: 256 seconds]
dfucci has joined #ruby
ropeney has quit [Ping timeout: 265 seconds]
dfucci has quit [Ping timeout: 258 seconds]
postmodern has joined #ruby
GodFather has joined #ruby
dfucci has joined #ruby
Lyubo1 has quit [Ping timeout: 258 seconds]
Lyubo1 has joined #ruby
ropeney has joined #ruby