havenwood changed the topic of #ruby to: Ruby 3.2.2, 3.1.4, 3.3.0-preview2: https://www.ruby-lang.org | Rules: https://ruby-community.com | Logs: https://libera.irclog.whitequark.org/ruby
jtperreault has quit [Quit: WeeChat 1.4]
markong has quit [Ping timeout: 255 seconds]
eddof13 has quit [Quit: Textual IRC Client: www.textualapp.com]
jtperreault has joined #ruby
John_Ivan has quit [Ping timeout: 272 seconds]
hiyori has quit [Quit: Client closed]
<Seldon898> I just want top say thanks again to weaksauce you got me out of a bind
Seldon898 has quit [Quit: Textual IRC Client: www.textualapp.com]
Seldon898 has joined #ruby
<Seldon898> uh oh
<Seldon898> I spoke too soon
<Seldon898> the Cocoapods UI has installed version 1.5.2 on the command line; whereas I need at least 1.11.0 - and the "Check for Update" dialog in the UI returns "Update Error!". Any other way to update the ui-installed version of cocoapods weaksauce?
brokkoli_origin has quit [Quit: (Leaving)]
brokkoli_origin has joined #ruby
gr33n7007h has quit [Ping timeout: 240 seconds]
smp has quit [Ping timeout: 255 seconds]
smp has joined #ruby
caedmon has joined #ruby
caedmon has quit [Ping timeout: 260 seconds]
Linux_Kerio has joined #ruby
gr33n7007h has joined #ruby
hiyori has joined #ruby
caedmon has joined #ruby
caedmon has quit [Quit: caedmon]
caedmon has joined #ruby
_ht has joined #ruby
caedmon has quit [Read error: Connection reset by peer]
caedmon1 has joined #ruby
caedmon1 is now known as caedmon
Vonter has quit [Ping timeout: 260 seconds]
caedmon has quit [Ping timeout: 252 seconds]
Vonter has joined #ruby
caedmon has joined #ruby
caedmon has quit [Ping timeout: 255 seconds]
caedmon has joined #ruby
johnjaye has quit [Ping timeout: 260 seconds]
johnjaye has joined #ruby
caedmon has quit [Ping timeout: 258 seconds]
_ht has quit [Quit: _ht]
duderonomy has joined #ruby
Munto has quit [Ping timeout: 240 seconds]
desnudopenguino has quit [Ping timeout: 255 seconds]
dviola has quit [Quit: WeeChat 4.1.0]
markong has joined #ruby
devmes has quit [Ping timeout: 245 seconds]
markong has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
nona has joined #ruby
Vonter has quit [Ping timeout: 258 seconds]
Vonter has joined #ruby
weaksauc_ has joined #ruby
weaksauce has quit [Ping timeout: 246 seconds]
TomyWork has joined #ruby
John_Ivan has joined #ruby
hiyori has quit [Quit: Client closed]
Seldon898 has quit [Quit: Textual IRC Client: www.textualapp.com]
devmes has joined #ruby
dviola has joined #ruby
dviola has quit [Quit: WeeChat 4.1.0]
dviola has joined #ruby
reset has quit [Quit: reset]
devmes_ has joined #ruby
devmes has quit [Read error: Connection reset by peer]
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
infinityfye has joined #ruby
alphacentauri has quit [Quit: WeeChat 4.1.0]
desnudopenguino has joined #ruby
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 245 seconds]
desnudopenguino1 is now known as desnudopenguino
infinity_fye has joined #ruby
infinityfye has quit [Ping timeout: 240 seconds]
<adam12> good morning
alphacentauri has joined #ruby
John_Ivan has quit [Ping timeout: 258 seconds]
John_Ivan has joined #ruby
alphacentauri has quit [Quit: WeeChat 4.1.0]
brokkoli_origina has joined #ruby
brokkoli_origin has quit [Ping timeout: 272 seconds]
_ht has joined #ruby
alphacentauri has joined #ruby
TomyWork has quit [Remote host closed the connection]
Aminda has quit [*.net *.split]
Linux_Kerio has quit [Ping timeout: 255 seconds]
Aminda has joined #ruby
reset has joined #ruby
cek has joined #ruby
<cek> who's around?
<cek> is it possible to make this more concise? `ruby -e '$stdin.read.match(/\n\n(.+)/m); puts $1'`
chris-p has joined #ruby
<chris-p> Hello, has anyone had any issues with twitter-text 3.1.0 on ruby 3.2.2? I'm getting a TypeError when trying to run a program that uses that library
<adam12> cek: String[] with a regex and position, maybe?
<adam12> cek: $stdin.read[/\n\n(.+)/m, 1]
<adam12> chris-p: Looking at source code for gem, it tries to load a list of TLDS from a YAML file. I suspect that's the issue.
<chris-p> yeah, I'd just managed to get to that
<adam12> chris-p: It uses a relative path from that file, which maybe is wrong when installed on your machine? or the yaml file isnt' included at all?
<adam12> maybe you can `cd $(bundle show twitter-text)` and then see if it includes lib/assets/tld_lib.yml
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
<chris-p> the yaml file does appear to be included, as if I rename it I get a different error (file not found)
<adam12> Oh, ok. So that's good then.
<chris-p> but the variable itself just seems to contain the value 33
<chris-p> even though the yaml file seems fine
<adam12> And presumingly the YAML is a dictionary of sorts?
<chris-p> and that tallys with what's on my server
<adam12> Yeah, that's bizarre.
<adam12> Maybe you can use the debug gem to go up the stack and see where the heck 33 came from.
<adam12> I don't see how it happend in your stack trace you pasted
<adam12> Gotta run. Good luck.
<chris-p> Thanks!
<henk> »allowed_tags = File.readlines("allowed_tags.txt")« I want to ignore errors opening this and just assign an empty array. is there an idiomatic/bestpractice way for doing this?
_ht has quit [Quit: _ht]
<leftylink> modifier-rescue to the rescue in situations like that?
<leftylink> where it'd be File.readlines('allowed_tags.txt') rescue []
<henk> leftylink: oh, that’s very nice, thank you (:
<chris-p> adam12: FYI - figured out the issue, was a compiler flag causing a runtime error, looks like -fdevirtualize-at-ltrans...
<chris-p> that'll teach me for using gentooLTO!
infinity_fye has quit [Quit: Leaving]
Vonter has quit [Ping timeout: 272 seconds]
Vonter has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
cek has quit [Quit: Connection closed for inactivity]
devmes_ has quit [Ping timeout: 258 seconds]
Exa has quit [Quit: see ya!]
polishdub has quit [Quit: leaving]
Exa has joined #ruby
ua_ has quit [Read error: Connection reset by peer]
ua_ has joined #ruby
ua_ has quit [Read error: Connection reset by peer]
ua_ has joined #ruby
devmes has joined #ruby
devmes_ has joined #ruby
<adam12> chris-p: LOL. What an odd error.
<ox1eef__> Almost as fun as:
<ox1eef__> libc++abi: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
<ox1eef__> Abort trap (core dumped)
<ox1eef__> That's from node. Can't use it at all in one project. Frustrating tbh :|
ua_ has quit [Read error: Connection reset by peer]
ua_ has joined #ruby