havenwood changed the topic of #ruby to: Ruby 3.2.2, 3.1.4, 3.3.0-rc1: https://www.ruby-lang.org | Rules: https://ruby-community.com | Logs: https://libera.irclog.whitequark.org/ruby
jenrzzz_ has joined #ruby
<adam12> ox1eef_: Mostly 644 that I can tell.
jenrzzz has quit [Ping timeout: 276 seconds]
<adam12> ox1eef_: Includes .bundle which is abnormal tho.
jenrzzz has joined #ruby
eddof13 has quit [Quit: eddof13]
jenrzzz_ has quit [Ping timeout: 264 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 256 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 256 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 256 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 245 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 246 seconds]
jenrzzz_ has joined #ruby
caedmon has joined #ruby
caedmon has quit [Ping timeout: 260 seconds]
araujo has joined #ruby
caedmon has joined #ruby
Vonter has quit [Ping timeout: 246 seconds]
Vonter has joined #ruby
caedmon has quit [Ping timeout: 252 seconds]
caedmon has joined #ruby
constxqt_ has quit [Ping timeout: 264 seconds]
caedmon has quit [Ping timeout: 260 seconds]
CRISPR has joined #ruby
Starfoxxes has joined #ruby
fercell_ has joined #ruby
fercell has quit [Ping timeout: 268 seconds]
caedmon has joined #ruby
edr has quit [Quit: Leaving]
caedmon has quit [Ping timeout: 256 seconds]
caedmon has joined #ruby
CRISPR has quit [Ping timeout: 264 seconds]
caedmon has quit [Ping timeout: 276 seconds]
brokkoli_origin has quit [Ping timeout: 256 seconds]
brokkoli_origin has joined #ruby
eddof13 has joined #ruby
crespire1 has quit [Remote host closed the connection]
crespire has joined #ruby
eddof13 has quit [Quit: Textual IRC Client: www.textualapp.com]
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
caedmon has joined #ruby
_ht has joined #ruby
caedmon has quit [Ping timeout: 256 seconds]
araujo has quit [Ping timeout: 268 seconds]
jmcgnh has quit [Ping timeout: 264 seconds]
reset has quit [Quit: reset]
jmcgnh has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
Paris has joined #ruby
grenierm has joined #ruby
_ht has quit [Quit: _ht]
grenierm has quit [Quit: Client closed]
grenierm has joined #ruby
Paris has quit [Read error: Connection reset by peer]
Paris has joined #ruby
Paris has quit [Client Quit]
szkl has quit [Quit: Connection closed for inactivity]
jenrzzz has joined #ruby
Paris has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
sagax has joined #ruby
jenrzzz_ has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
grenierm has quit [Quit: Client closed]
jenrzzz_ has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
constxqt_ has joined #ruby
constxqt_ has quit [Ping timeout: 255 seconds]
szkl has joined #ruby
Rounin has quit [Quit: Rounin]
CRISPR has joined #ruby
CRISPR has quit [Ping timeout: 260 seconds]
walez_ has joined #ruby
Rounin has joined #ruby
Rounin has quit [Changing host]
Rounin has joined #ruby
CRISPR has joined #ruby
<ox1eef_> adam12: Thanks :) Those are the expected permissions. And indeed, I should filter out '.bundle' when building the gem.
poems_ has quit [Ping timeout: 252 seconds]
CRISPR has quit [Ping timeout: 256 seconds]
gemmaro has joined #ruby
rvalue has quit [Ping timeout: 268 seconds]
zachb has quit [Quit: WeeChat 2.8]
<Guest808> 'Could not locate Gemfile', but Gemfile is there?
<Guest808> running a roda app with puma when suddenly it stops
<Guest808> nothing works any longer
<Guest808> it seems to be a permissions issue (as with all things in linux), but i definitely own and have rwx on all files and directories
<Guest808> so what gives?
<Guest808> okay, it is apparently a permissions issue caused by centos resetting the execute bit on a parent folder, which somehoe prevents anything from working int his working directory
<Guest808> so annoying
rvalue has joined #ruby
<ox1eef_> You can't enter a directory without the x bit being set. And most the time the working directory will be the root of the application.
walez_ has quit [Quit: Leaving]
szkl has quit [Quit: Connection closed for inactivity]
araujo has joined #ruby
<Guest808> yeah, but for whatever reason, centos keeps resetting the x bit on the parent folders
<Guest808> any idea why that would be or how to stop it?
<ox1eef_> I have never used CentOS so I don't have an idea. A quick search suggests CentOS can "fix" permissions between reboots for certain directories.
zigurate1 has joined #ruby
zigurate has quit [Ping timeout: 245 seconds]
zigurate1 is now known as zigurate
<Guest808> i had never used it before, either
<Guest808> so far i have found the experience exceedingly annoying
edr has joined #ruby
<Guest808> i guess it's a red hat thing, because i found alma to be equally annoying
<Guest808> i think this next thing isn't rh-specific, though
<Guest808> when i start puma manually with bundle exec puma, i get everything served as expected
<Guest808> specifically, assets (css &c)
<Guest808> when i start puma via systemd, i don't
<Guest808> thoughts?
<ox1eef_> Oh I have no idea. I wouldn't be surprised if every problem has its root in systemd. I avoid it like the plague.
<Guest808> that's where i got my current config from
<Guest808> can't see anything there that sheds light on this
<Guest808> something to do with timeouts probably
<Guest808> but where?
<Guest808> ironically, i don't think the internet could exist without the internet
<Guest808> nobody could be expected to fit every piece of this house of cards in their head
graywolf has joined #ruby
szkl has joined #ruby
Paris has quit [Quit: quit]
dviola has quit [Quit: WeeChat 4.1.2]
<ox1eef_> Well - without systemd, you'd have a shell script that would start puma, and that's usually more familiar, and easier to debug than systemd's nonsense. I would start over with a sane operating system / Linux distribution, but that might be too drastic.
reset has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
infinityfye has joined #ruby
kiwi_36 has joined #ruby
<Guest808> ox1eef_: in this case, that's not possible
<Guest808> unfortunately
havenwood has quit [Quit: The Lounge - https://thelounge.chat]
havenwood has joined #ruby
graywolf has quit [Quit: WeeChat 4.0.4]
<ox1eef_> Looks like I will use Sequel for the first time. With SQLite3.
CRISPR has joined #ruby
<adam12> ox1eef_: It's my favourite.
wand has joined #ruby
<ox1eef_> I can see why :) Good docs too.
jenrzzz has joined #ruby
CRISPR has quit [Ping timeout: 245 seconds]
<adam12> Sigh. This one app is in dependency hell since i left it for so long.
<adam12> I took on dependencies I regret.
<adam12> I can't even run `bundle outdated` since it's ended up in some weird failure state.
gemmaro has quit [Remote host closed the connection]
poems has joined #ruby
<ox1eef_> No Gemfile.lock ?
<adam12> ox1eef_: There is. I'm not sure why it's so busted tho :(
<ox1eef_> Moving C dependencies can be tricky sometimes. Those don't really live by Gemfile.lock.
<adam12> I've noticed it's a lot to do with interwoven dependencies, like the dry-rb gems.
<adam12> They all depend on each other, so it makes it hard to move them independently.
<ox1eef_> Ah yeah. A metagem.
<adam12> Same issue I had when I did Rails. You move Rails as one
_ht has joined #ruby
r3m has quit [Quit: WeeChat 4.2.0-dev]
pvalenta has quit [Remote host closed the connection]
pvalenta has joined #ruby
pvalenta has quit [Changing host]
pvalenta has joined #ruby
r3m has joined #ruby
pvalenta has quit [Remote host closed the connection]
pvalenta has joined #ruby
pvalenta has quit [Changing host]
pvalenta has joined #ruby
JulioPapel has joined #ruby
JulioPapel has quit [Client Quit]
bienjensu has joined #ruby
eddof13 has joined #ruby
eddof13 has quit [Quit: eddof13]
bienjensu has quit [Ping timeout: 260 seconds]
zigurate1 has joined #ruby
zigurate has quit [Ping timeout: 256 seconds]
zigurate1 is now known as zigurate
<adam12> Can someone run `gem env | grep 'USER INSTALLATION'` and tell me if it matches their current Ruby version?
graywolf has joined #ruby
eddof13 has joined #ruby
reset has quit [Ping timeout: 255 seconds]
<sam113101> adam12: what do you mean?
<adam12> - INSTALLATION DIRECTORY: /Users/adam/.gem/ruby/3.0.6
<adam12> - USER INSTALLATION DIRECTORY: /Users/adam/.gem/ruby/3.0.0
<adam12> I'm debugging an issue where a C extension keeps going "unpristine". I think it's because it's being installed in the User Install directory for each 3.x version I use.
<sam113101> - USER INSTALLATION DIRECTORY: /home/sam/.local/share/gem/ruby
<sam113101> is that weird?
<adam12> Oh, yeah kinda. Do you use a version manager?
<sam113101> no
<adam12> Distro?
<sam113101> fedora
<adam12> It's not necessarily weird because Fedora only lets' you install one Ruby version through dnf.
<adam12> (or whatever the pkg manager is)
<adam12> so not likely a chance of corrupting the gem with a different ABI.
<adam12> Actually, my values look correct, now that I look at it a bit closer. But I wonder if rubygems defaulting to `--user-install` might have bunged it up.
<ox1eef_> For me it is similar to sam113101 .
<ox1eef_> USER INSTALLATION DIRECTORY: /home/0x1eef/.local/share/gem/ruby/3.2.0
EDI_ has joined #ruby
<ox1eef_> Same on my other machine (more or less, 3.2 instead of 3.2.0).
<adam12> ox1eef_: Current ruby version? is it 3.2.0 or a patch of 3.2.x?
<ox1eef_> Both 3.2.2.
<adam12> Ah, maybe it's not this then.
<ox1eef_> Not certain but I think the XDG spec might be the convention used on non-OSX.
<ox1eef_> Yeah, XDG_DATA_HOME defaults to $HOME/.local/share/.
<adam12> I've just switched back to chruby and I think my system is in a bit of a mess.
<ox1eef_> It's been quite a while since I have used a ruby version manager / installer.
<adam12> ox1eef_: You're able to work with just one? or does openbsd ship multiple?
<ox1eef_> OpenBSD ships multiple, and by default adds a suffix (ruby32, ruby31, etc). There's a ruby shim package you can use if you want a 'ruby' shortcut.
<adam12> Ah.
<ox1eef_> I use the ruby shim package on FreeBSD too, along with a unofficial port for a standard Ruby install.
EDI_ has quit [Quit: Client closed]
<adam12> Gonna slowly tease these troublesome dependencies out of this app.
<ox1eef_> An app that works now and in the future is a noble goal.
<adam12> ox1eef_: It's impressive that I didn't touch it for ~ 1 year and it worked essentially bug free. But I need to do updates on it.
<ox1eef_> It can be a tricky problem. Usuaully Gemfile.lock helps, but there's blindspots it doesn't cover.
<adam12> The issue here was definitely the intertwined dependencies.
<adam12> dry-system had some breaking changes, but to move it forward gradually to catch the deprecations, it requires versions of dry-core/etc that the other libraries won't allow.
<adam12> (like dry-validation)
<ox1eef_> I started to track .bundle/config in git to minimize annoying env issues.
<ox1eef_> Usually there's a meta gem that tracks them all.
<adam12> and dry-validation has some conflicts with dry-configuration versions, which conflicts with dry-system.
<adam12> Yeah, that's not true in this case.
<ox1eef_> Over-engineering at its best :P
<adam12> :P
<adam12> It seemed like a good idea at the time, but the minute you let things lapse, everything falls into conflict.
<ox1eef_> Yep. Hard to notice until it happens.
EDI_ has joined #ruby
EDI_ has quit [Quit: Client closed]
reset has joined #ruby
aindilis has joined #ruby
bloxor has quit [Quit: Connection closed for inactivity]
_ht has quit [Remote host closed the connection]
rvalue has quit [Ping timeout: 264 seconds]
rvalue- has joined #ruby
kiwi_36 has quit [Remote host closed the connection]
rvalue- is now known as rvalue
desnudopenguino1 has joined #ruby
graywolf has quit [Quit: WeeChat 4.0.4]
caedmon has joined #ruby
desnudopenguino has quit [Ping timeout: 245 seconds]
desnudopenguino1 is now known as desnudopenguino
caedmon has quit [Client Quit]
caedmon has joined #ruby
cimento has quit [Quit: WeeChat 4.1.2]
CRISPR has joined #ruby
infinityfye has quit [Quit: Leaving]
mange has joined #ruby
joto has quit [Quit: Ping timeout (120 seconds)]
joto has joined #ruby
tomtmym has quit [Remote host closed the connection]
tomtmym has joined #ruby
tomtmym has quit [Changing host]
tomtmym has joined #ruby
CRISPR has quit [Ping timeout: 246 seconds]
cimento has joined #ruby
FetidToot7 has joined #ruby
FetidToot has quit [Ping timeout: 240 seconds]
FetidToot7 is now known as FetidToot
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
cimento has quit [Quit: WeeChat 4.1.2]
cimento has joined #ruby
CRISPR has joined #ruby
CRISPR has quit [Ping timeout: 255 seconds]
CRISPR has joined #ruby
cimento has quit [Quit: WeeChat 4.1.2]
CRISPR has quit [Ping timeout: 246 seconds]
brokkoli_origin has quit [Ping timeout: 246 seconds]
mahlon has quit [Read error: Connection reset by peer]