__DuBPiRaTe__ has joined #ruby
cappy_ has joined #ruby
cappy has quit [Killed (silver.libera.chat (Nickname regained by services))]
cappy_ is now known as cappy
reset has joined #ruby
cappy has quit [Ping timeout: 260 seconds]
Vonter has joined #ruby
nirvdrum has joined #ruby
hwpplayer1 has joined #ruby
__DuBPiRaTe__ has quit [Quit: Leaving]
adam12 has quit [Quit: Ping timeout (120 seconds)]
lunarkitty has quit [Quit: Ping timeout (120 seconds)]
adam12 has joined #ruby
lunarkitty has joined #ruby
howdoi has quit [Ping timeout: 246 seconds]
howdoi has joined #ruby
Linux_Kerio has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
hwpplayer1 has joined #ruby
Pixi` has joined #ruby
Pixi has quit [Ping timeout: 245 seconds]
grenierm has joined #ruby
___nick___ has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
grenierm has quit [Ping timeout: 256 seconds]
hwpplayer1 has joined #ruby
hwpplayer1 has quit [Read error: Connection reset by peer]
hwpplayer1 has joined #ruby
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 252 seconds]
desnudopenguino1 is now known as desnudopenguino
smp_ has joined #ruby
smp has quit [Ping timeout: 248 seconds]
smp_ is now known as smp
hwpplayer1 has quit [Remote host closed the connection]
hwpplayer1 has joined #ruby
Fridtjof has joined #ruby
hwpplayer1 has quit [Quit: I gotta go]
TomyWork has joined #ruby
hwpplayer1 has joined #ruby
Furai has quit [Quit: WeeChat 4.4.2]
Furai has joined #ruby
dhruvasagar has joined #ruby
donofrio_ has joined #ruby
mange has quit [Remote host closed the connection]
donofrio_ has quit [Ping timeout: 264 seconds]
donofrio_ has joined #ruby
Furai has quit [Quit: WeeChat 4.4.2]
otisolsen70 has joined #ruby
otisolsen70 has quit [Remote host closed the connection]
otisolsen70 has joined #ruby
donofrio_ has quit [Read error: Connection reset by peer]
donofrio_ has joined #ruby
otisolsen70 has quit [Quit: Leaving]
user71 has joined #ruby
dhruvasagar has quit [Remote host closed the connection]
Furai has joined #ruby
donofrio_ has quit [Ping timeout: 255 seconds]
donofrio_ has joined #ruby
dhruvasagar has joined #ruby
dhruvasagar has quit [Remote host closed the connection]
donofrio_ has quit [Ping timeout: 260 seconds]
donofrio_ has joined #ruby
dhruvasagar has joined #ruby
donofrio_ has quit [Ping timeout: 248 seconds]
TomyWork has quit [Remote host closed the connection]
donofrio_ has joined #ruby
cappy has joined #ruby
Rodistack has joined #ruby
Rodistack has quit [Quit: WeeChat 4.1.1]
Guest121 has joined #ruby
reset has quit [Quit: reset]
Guest121 has quit [Quit: Client closed]
hwpplayer1 has quit [Remote host closed the connection]
ih8u2 has joined #ruby
ih8u has quit [Ping timeout: 246 seconds]
ih8u2 is now known as ih8u
dhruvasagar has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby
___nick___ has quit [Ping timeout: 246 seconds]
crespire1 has quit [Ping timeout: 252 seconds]
havenwood5 has joined #ruby
crespire has joined #ruby
Guest121 has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
havenwood5 is now known as havenwood
dhruvasagar has quit [Ping timeout: 246 seconds]
<
johnjaye>
isene: i think i got it working on mint
<
johnjaye>
first i had to specify --user-install. then i needed ruby-dev. then it says for best expierence to apt-get a ton of random stuff
<
johnjaye>
apt install x11-utils xdotool bat poppler-utils odt2txt docx2txt unzip gnumeric catdoc w3m imagemagick ffmpegthumbnailer in this case
dhruvasagar has joined #ruby
Guest121 has quit [Quit: Client closed]
Linux_Kerio has quit [Ping timeout: 272 seconds]
dhruvasagar has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 260 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 272 seconds]
user71 has quit [Quit: Leaving]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 276 seconds]
<
isene>
johnjaye: Cool
<
isene>
How do I most easily (without any 3rd party gems) find the root install path of a specific gem?
dhruvasagar has joined #ruby
c10l has quit [Ping timeout: 245 seconds]
dhruvasagar has quit [Ping timeout: 245 seconds]
donofrio_ has quit [Ping timeout: 260 seconds]
donofrio_ has joined #ruby
dhruvasagar has joined #ruby
<
weaksauce>
isene gem contents gemname will get you a listing of every file in the gem.
dhruvasagar has quit [Ping timeout: 265 seconds]
<
weaksauce>
i'm sure a regex would let you figure out the basename of the folder
<
weaksauce>
or some kind of algorithm where you find the smallest common substring
<
weaksauce>
er longest common substring
<
weaksauce>
pretty easy to do with a set
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
dhruvasagar has joined #ruby
<
isene>
It's 300 files in that gem. Anything simpler?
dhruvasagar has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 245 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 246 seconds]
powersurge360 has joined #ruby
dhruvasagar has joined #ruby
havenwood has joined #ruby
dhruvasagar has quit [Ping timeout: 265 seconds]
cappy has quit [Quit: Leaving]
dhruvasagar has joined #ruby
donofrio_ has quit [Ping timeout: 252 seconds]
dhruvasagar has quit [Ping timeout: 272 seconds]
dhruvasagar has joined #ruby
dvinciguerra has joined #ruby
dvinciguerra has quit [Remote host closed the connection]
<
weaksauce>
isene it is not much work to find the longest common substring imo
dhruvasagar has quit [Ping timeout: 255 seconds]
<
isene>
No, but I'm thinking performance. And I just found a way 😊
dhruvasagar has joined #ruby
mweckbecker has quit [Ping timeout: 252 seconds]
mweckbecker has joined #ruby