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
<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]