00:21
Linux_Kerio has quit [Ping timeout: 272 seconds]
00:25
crankharder has joined #ruby
00:35
crankharder has quit [Ping timeout: 265 seconds]
01:01
crankharder has joined #ruby
01:07
crankharder has quit [Ping timeout: 260 seconds]
01:14
crankharder has joined #ruby
01:18
crankharder has quit [Ping timeout: 260 seconds]
01:41
razetime has joined #ruby
01:57
markong has quit [Ping timeout: 268 seconds]
02:13
lucartc has quit [Remote host closed the connection]
02:37
moldorcoder7 has quit [Ping timeout: 272 seconds]
03:43
shiru has joined #ruby
03:43
shiru has quit [Client Quit]
03:51
Laplace has quit [Quit: Connection closed for inactivity]
03:54
jmcgnh has quit [Ping timeout: 272 seconds]
03:55
crankharder has joined #ruby
04:00
mooff has quit [Remote host closed the connection]
04:00
crankharder has quit [Ping timeout: 260 seconds]
04:01
mooff has joined #ruby
04:16
ur5us has quit [Ping timeout: 260 seconds]
05:05
TomyWork has joined #ruby
05:06
jmcgnh has joined #ruby
05:09
ur5us has joined #ruby
05:18
ur5us has quit [Ping timeout: 256 seconds]
05:20
ur5us has joined #ruby
05:45
dionysus69 has joined #ruby
05:48
reset has quit [Quit: reset]
06:15
ur5us has quit [Ping timeout: 246 seconds]
06:17
crankharder has joined #ruby
06:24
cartdrige has joined #ruby
06:24
crankharder has quit [Ping timeout: 255 seconds]
06:51
hightower2 has quit [Remote host closed the connection]
06:52
hightower2 has joined #ruby
06:57
cybniv has joined #ruby
06:58
hightower2 has quit [Remote host closed the connection]
06:58
hightower2 has joined #ruby
07:31
teclator has joined #ruby
08:13
tomtmym has joined #ruby
08:13
tomtmym has joined #ruby
08:13
tomtmym has quit [Changing host]
08:16
jmcgnh_ has joined #ruby
08:16
jmcgnh has quit [Ping timeout: 272 seconds]
08:19
jmcgnh_ is now known as jmcgnh
08:28
Linux_Kerio has joined #ruby
08:55
apteryx has quit [Ping timeout: 260 seconds]
09:00
Bigou[m] has quit [Quit: You have been kicked for being idle]
09:02
jvalleroy has joined #ruby
09:09
apteryx has joined #ruby
09:21
crankharder has joined #ruby
09:25
Sankalp has quit [Ping timeout: 260 seconds]
09:25
yCrazyEdd has quit [Ping timeout: 260 seconds]
09:26
crankharder has quit [Ping timeout: 260 seconds]
09:29
yCrazyEdd has joined #ruby
09:32
cartdrige has quit [Ping timeout: 256 seconds]
09:38
Sankalp has joined #ruby
09:59
cartdrige has joined #ruby
10:31
Sankalp has quit [Ping timeout: 260 seconds]
10:35
shokohsc6 has quit [Read error: Connection reset by peer]
10:38
shokohsc6 has joined #ruby
10:41
Sankalp has joined #ruby
11:01
moldorcoder7 has joined #ruby
11:05
dviola has quit [Ping timeout: 264 seconds]
11:25
Petruchio has quit [Read error: Connection reset by peer]
11:28
crax23 has joined #ruby
11:30
Y05hito__ has joined #ruby
11:31
cartdrige has quit [Ping timeout: 265 seconds]
11:33
crax23 has quit [Ping timeout: 268 seconds]
11:55
moldorcoder7 has quit [Ping timeout: 256 seconds]
12:01
moldorcoder7 has joined #ruby
12:18
markong has joined #ruby
12:47
crankharder has joined #ruby
12:51
crankharder has quit [Ping timeout: 256 seconds]
13:40
hightower2 has quit [Ping timeout: 260 seconds]
13:41
razetime has quit [Ping timeout: 272 seconds]
13:44
crankharder has joined #ruby
13:49
crankharder has quit [Ping timeout: 268 seconds]
13:58
gr33n7007h has quit [Quit: WeeChat 3.7.1]
14:04
gr33n7007h has joined #ruby
14:16
crankharder has joined #ruby
14:17
lucartc has joined #ruby
14:24
razetime has joined #ruby
14:28
dka has joined #ruby
14:29
crankharder has quit [Quit: leaving]
14:40
moldorcoder7 has quit [Ping timeout: 268 seconds]
14:41
moldorcoder7 has joined #ruby
14:51
dka has quit [Ping timeout: 260 seconds]
15:03
gschanuel has joined #ruby
15:12
konsolebox has joined #ruby
15:38
hightower2 has joined #ruby
15:38
plantman has joined #ruby
15:40
dionysus69 has quit [Ping timeout: 265 seconds]
15:41
konsolebox has quit [Ping timeout: 246 seconds]
15:46
plantman has quit [Ping timeout: 252 seconds]
16:08
_ht has joined #ruby
16:13
TomyWork has quit [Remote host closed the connection]
16:28
crax23 has joined #ruby
16:30
Y05hito__ has quit [Ping timeout: 265 seconds]
16:31
cartdrige has joined #ruby
16:33
crax23 has quit [Ping timeout: 264 seconds]
16:50
eddof13 has joined #ruby
16:53
eddof13 has quit [Client Quit]
16:59
razetime has quit [Remote host closed the connection]
17:13
Sankalp has quit [Ping timeout: 260 seconds]
17:16
Sankalp has joined #ruby
17:40
eeee has joined #ruby
17:41
<
eeee >
is ruby usable in windows?
17:46
<
adam12 >
eeee: It's usable but not great, unfortunately. Tho in WSL it should be just as any other Linux env.
17:46
<
apteryx >
hello! is there a way to get dropped to a debugger when a test failure is enountered with rspec?
17:47
<
adam12 >
apteryx: Maybe rspec-debug?
17:47
<
adam12 >
Nothing built in to rspec that I'm personally aware of.
17:47
<
apteryx >
adam12: I'll check it out, thank you
17:47
<
adam12 >
eeee: JRuby on Windows is great tho and a reasonable substitute for some situations.
17:49
<
apteryx >
is debug.rb included as a builtin with ruby?
17:50
<
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.
17:51
<
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.
17:53
<
apteryx >
I'm on 2.7.4 currently
17:53
eeee has quit [Read error: No route to host]
17:53
<
apteryx >
it is worth packaging the debug gem separately?
17:55
<
adam12 >
apteryx: Adding to Gemfile or similar?
17:57
<
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.
17:58
eeee has joined #ruby
17:58
eeee has quit [Max SendQ exceeded]
18:23
perrierjouet has quit [Quit: WeeChat 3.7.1]
18:33
perrierjouet has joined #ruby
18:34
caedmon has joined #ruby
18:50
caedmon has quit [Ping timeout: 272 seconds]
18:51
caedmon has joined #ruby
19:13
caedmon has quit [Ping timeout: 260 seconds]
19:31
caedmon has joined #ruby
19:35
caedmon has quit [Ping timeout: 268 seconds]
19:41
___nick___ has joined #ruby
19:41
<
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
19:42
___nick___ has quit [Client Quit]
19:44
___nick___ has joined #ruby
19:48
<
apteryx >
or RSPEC_DEBUG=1 (same)
20:15
ur5us has joined #ruby
20:20
caedmon has joined #ruby
20:24
<
adam12 >
apteryx: maybe bug? not sure (I don't use rspec)
20:24
caedmon has quit [Ping timeout: 265 seconds]
20:50
matoro_ has quit [Remote host closed the connection]
20:52
matoro_ has joined #ruby
20:56
matoro_ has quit [Client Quit]
20:57
Linux_Kerio has quit [Ping timeout: 246 seconds]
21:04
___nick___ has quit [Ping timeout: 260 seconds]
21:06
matoro- has joined #ruby
21:12
<
adam12 >
adam@storage1:/srv/gemdocs/src$ du -sh cybrid*
21:12
<
adam12 >
5.2G cybrid_api_id_ruby
21:12
<
adam12 >
5.1G cybrid_api_organization_ruby
21:12
<
adam12 >
5.5G cybrid_api_bank_ruby
21:12
<
adam12 >
holy smokes
21:14
plantman has joined #ruby
21:17
plantman2 has joined #ruby
21:22
<
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.
21:30
plantman2 has quit [Ping timeout: 260 seconds]
21:30
plantman has quit [Ping timeout: 260 seconds]
21:37
_ht has quit [Quit: _ht]
21:43
Synthead has joined #ruby
21:44
<
Synthead >
I have a var called job_class with a class name in it, i.e. MyJobClass
21:44
<
Synthead >
I want to use a case block to do something if job_class is a type of class
21:45
<
Synthead >
is there a way I can do this without job_class.to_s and comparing stringified class names?
21:54
plantman has joined #ruby
21:55
plantman2 has joined #ruby
22:11
perrierjouet has quit [Quit: WeeChat 3.8]
22:14
perrierjouet has joined #ruby
22:23
matoro- has joined #ruby
22:26
hightower3 has joined #ruby
22:29
hightower2 has quit [Ping timeout: 272 seconds]
22:35
<
adam12 >
Synthead: Case can compare class names too.
22:36
<
adam12 >
Synthead: (or constants, to be more specific)
22:36
<
adam12 >
case some_var; when MyJobClass then do_something
22:36
<
adam12 >
case calls `===` which Class supports.
22:57
graywolf has joined #ruby
23:00
ruby[bot] has quit [Remote host closed the connection]
23:00
ruby[bot] has joined #ruby
23:07
plantman2 has quit [Ping timeout: 256 seconds]
23:07
plantman has quit [Ping timeout: 256 seconds]
23:07
<
weaksauc_ >
is there any kind of wasm tooling that lets you debug it? any kind of sourcemap or the like
23:16
tomtmym has quit [Quit: Gone.]
23:25
caedmon has joined #ruby
23:31
gcd has joined #ruby