havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.2.0, 3.1.3, 3.0.5, 2.7.7: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://t.ly/9ua4 | Logs: https://libera.irclog.whitequark.org/ruby/
Linux_Kerio has quit [Ping timeout: 272 seconds]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 265 seconds]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 260 seconds]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 260 seconds]
razetime has joined #ruby
markong has quit [Ping timeout: 268 seconds]
lucartc has quit [Remote host closed the connection]
moldorcoder7 has quit [Ping timeout: 272 seconds]
shiru has joined #ruby
shiru has quit [Client Quit]
Laplace has quit [Quit: Connection closed for inactivity]
jmcgnh has quit [Ping timeout: 272 seconds]
crankharder has joined #ruby
mooff has quit [Remote host closed the connection]
crankharder has quit [Ping timeout: 260 seconds]
mooff has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
TomyWork has joined #ruby
jmcgnh has joined #ruby
ur5us has joined #ruby
ur5us has quit [Ping timeout: 256 seconds]
ur5us has joined #ruby
dionysus69 has joined #ruby
reset has quit [Quit: reset]
ur5us has quit [Ping timeout: 246 seconds]
crankharder has joined #ruby
cartdrige has joined #ruby
crankharder has quit [Ping timeout: 255 seconds]
hightower2 has quit [Remote host closed the connection]
hightower2 has joined #ruby
niv has quit [Quit: Powered by LunarBNC: https://LunarBNC.net]
cybniv has joined #ruby
hightower2 has quit [Remote host closed the connection]
hightower2 has joined #ruby
teclator has joined #ruby
tomtmym has joined #ruby
tomtmym has joined #ruby
tomtmym has quit [Changing host]
jmcgnh_ has joined #ruby
jmcgnh has quit [Ping timeout: 272 seconds]
jmcgnh_ is now known as jmcgnh
Linux_Kerio has joined #ruby
apteryx has quit [Ping timeout: 260 seconds]
Bigou[m] has quit [Quit: You have been kicked for being idle]
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
apteryx has joined #ruby
crankharder has joined #ruby
Sankalp has quit [Ping timeout: 260 seconds]
yCrazyEdd has quit [Ping timeout: 260 seconds]
crankharder has quit [Ping timeout: 260 seconds]
yCrazyEdd has joined #ruby
cartdrige has quit [Ping timeout: 256 seconds]
Sankalp has joined #ruby
cartdrige has joined #ruby
Sankalp has quit [Ping timeout: 260 seconds]
shokohsc6 has quit [Read error: Connection reset by peer]
shokohsc6 has joined #ruby
Sankalp has joined #ruby
moldorcoder7 has joined #ruby
dviola has quit [Ping timeout: 264 seconds]
Petruchio has quit [Read error: Connection reset by peer]
crax23 has joined #ruby
Y05hito__ has joined #ruby
cartdrige has quit [Ping timeout: 265 seconds]
crax23 has quit [Ping timeout: 268 seconds]
moldorcoder7 has quit [Ping timeout: 256 seconds]
moldorcoder7 has joined #ruby
markong has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
hightower2 has quit [Ping timeout: 260 seconds]
razetime has quit [Ping timeout: 272 seconds]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 268 seconds]
gr33n7007h has quit [Quit: WeeChat 3.7.1]
gr33n7007h has joined #ruby
crankharder has joined #ruby
lucartc has joined #ruby
razetime has joined #ruby
dka has joined #ruby
crankharder has quit [Quit: leaving]
moldorcoder7 has quit [Ping timeout: 268 seconds]
moldorcoder7 has joined #ruby
dka has quit [Ping timeout: 260 seconds]
gschanuel has joined #ruby
konsolebox has joined #ruby
hightower2 has joined #ruby
plantman has joined #ruby
dionysus69 has quit [Ping timeout: 265 seconds]
konsolebox has quit [Ping timeout: 246 seconds]
plantman has quit [Ping timeout: 252 seconds]
_ht has joined #ruby
TomyWork has quit [Remote host closed the connection]
crax23 has joined #ruby
Y05hito__ has quit [Ping timeout: 265 seconds]
cartdrige has joined #ruby
crax23 has quit [Ping timeout: 264 seconds]
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
razetime has quit [Remote host closed the connection]
Sankalp has quit [Ping timeout: 260 seconds]
Sankalp has joined #ruby
eeee has joined #ruby
<eeee> is ruby usable in windows?
<adam12> eeee: It's usable but not great, unfortunately. Tho in WSL it should be just as any other Linux env.
<apteryx> hello! is there a way to get dropped to a debugger when a test failure is enountered with rspec?
<adam12> apteryx: Maybe rspec-debug?
<adam12> Nothing built in to rspec that I'm personally aware of.
<apteryx> adam12: I'll check it out, thank you
<adam12> eeee: JRuby on Windows is great tho and a reasonable substitute for some situations.
<apteryx> is debug.rb included as a builtin with ruby?
<adam12> apteryx: Kinda? There's been a debug.rb with Ruby since the late 1900's. But it was old and kind of left to rot. About ~ 2 years ago, debug was revamped into a new version.
<adam12> So if you're on Ruby 2.7+, you'll likely get the new debug gem and `debug.rb`. If you're on 2.4, 2.3, older (hopefully not), you'll get the non-maintaned debug.rb from the 90s.
<apteryx> I see.
<apteryx> I'm on 2.7.4 currently
eeee has quit [Read error: No route to host]
<apteryx> it is worth packaging the debug gem separately?
<adam12> apteryx: Adding to Gemfile or similar?
<apteryx> yes
<adam12> apteryx: It wouldn't hurt, because it would give you the latest version, compared to the version that shipped as a default gem with that Ruby release.
eeee has joined #ruby
eeee has quit [Max SendQ exceeded]
perrierjouet has quit [Quit: WeeChat 3.7.1]
perrierjouet has joined #ruby
caedmon has joined #ruby
caedmon has quit [Ping timeout: 272 seconds]
caedmon has joined #ruby
gschanuel has quit [Quit: The Lounge - https://thelounge.chat]
caedmon has quit [Ping timeout: 260 seconds]
caedmon has joined #ruby
caedmon has quit [Ping timeout: 268 seconds]
___nick___ has joined #ruby
<apteryx> hmm. so I now have rspec-debug installed, and I use export RSPEC_DEBUG=true && rspec, but it doesn't hand off to the debugger
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
<apteryx> or RSPEC_DEBUG=1 (same)
ur5us has joined #ruby
caedmon has joined #ruby
<adam12> apteryx: maybe bug? not sure (I don't use rspec)
caedmon has quit [Ping timeout: 265 seconds]
matoro_ has quit [Remote host closed the connection]
matoro_ has joined #ruby
matoro_ has quit [Client Quit]
Linux_Kerio has quit [Ping timeout: 246 seconds]
___nick___ has quit [Ping timeout: 260 seconds]
matoro- has joined #ruby
<adam12> adam@storage1:/srv/gemdocs/src$ du -sh cybrid*
<adam12> 5.2G cybrid_api_id_ruby
<adam12> 5.1G cybrid_api_organization_ruby
<adam12> 5.5G cybrid_api_bank_ruby
<adam12> holy smokes
plantman has joined #ruby
plantman2 has joined #ruby
<adam12> Interesting, they vendor their gem dependencies (from bundler it looks like), with some of them like ffi taking a bunch of space. How peculiar.
plantman2 has quit [Ping timeout: 260 seconds]
plantman has quit [Ping timeout: 260 seconds]
<weaksauc_> yikes
matoro- has quit [Quit: ZNC 1.8.2 - https://znc.in]
_ht has quit [Quit: _ht]
Synthead has joined #ruby
<Synthead> I have a var called job_class with a class name in it, i.e. MyJobClass
<Synthead> I want to use a case block to do something if job_class is a type of class
<Synthead> is there a way I can do this without job_class.to_s and comparing stringified class names?
plantman has joined #ruby
plantman2 has joined #ruby
<apteryx> adam12: I reported it here https://github.com/ko1/rspec-debug/issues/1 in case it's one
perrierjouet has quit [Quit: WeeChat 3.8]
perrierjouet has joined #ruby
matoro- has joined #ruby
hightower3 has joined #ruby
hightower2 has quit [Ping timeout: 272 seconds]
<adam12> Synthead: Case can compare class names too.
<adam12> Synthead: (or constants, to be more specific)
<adam12> case some_var; when MyJobClass then do_something
<adam12> case calls `===` which Class supports.
graywolf has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
plantman2 has quit [Ping timeout: 256 seconds]
plantman has quit [Ping timeout: 256 seconds]
<weaksauc_> is there any kind of wasm tooling that lets you debug it? any kind of sourcemap or the like
tomtmym has quit [Quit: Gone.]
caedmon has joined #ruby
gcd has joined #ruby