<havenwood>
Cubixusin[m]: Are you using --config with the `puma` command to point to that config file?
<havenwood>
Cubixusin[m]: puma -C config/puma.rb
<havenwood>
Cubixusin[m]: See: puma -h
<havenwood>
-C, --config PATH Load PATH as a config file
<Cubixusin[m]>
it works, log files created, but there no any request to server, just puma startup with time
<havenwood>
Cubixusin[m]: You are redirecting stdout, so you shouldn't expect to see requests in the terminal.
<Cubixusin[m]>
havenwood: they are not in the file either
<havenwood>
Cubixusin[m]: Are you visiting localhost? Does the app work? Just not showing up in logs?
<Cubixusin[m]>
`puma -C config/puma.rb -v` - it works. havenwood: 🍻
Sp4rKy has quit [Ping timeout: 256 seconds]
vondruch has quit [Read error: Connection reset by peer]
schaerli has joined #ruby
bijan_ has quit []
schaerli has quit [Ping timeout: 246 seconds]
schne1der has quit [Quit: schne1der]
venmx has joined #ruby
orbyt_ has joined #ruby
venmx has quit [Ping timeout: 246 seconds]
trautwein has quit [Ping timeout: 272 seconds]
trautwein has joined #ruby
howdoi has joined #ruby
Technodrome has quit [Ping timeout: 246 seconds]
trautwein has quit [Ping timeout: 260 seconds]
fercell has quit [Ping timeout: 240 seconds]
riceandb1ans has joined #ruby
ruurd has quit [Read error: Connection reset by peer]
trautwein has joined #ruby
riceandbeans has quit [Ping timeout: 264 seconds]
Hess has joined #ruby
trautwein has quit [Ping timeout: 240 seconds]
cowgomoo has quit [Ping timeout: 240 seconds]
cowgomoo has joined #ruby
Hess has left #ruby [#ruby]
trautwein has joined #ruby
moldorcoder7 has quit [Quit: %bye mirc%]
moldorcoder7 has joined #ruby
trautwein has quit [Ping timeout: 265 seconds]
maryo has joined #ruby
ua has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
ua has joined #ruby
ur5us has joined #ruby
JoL1hAHN has quit [Ping timeout: 272 seconds]
seed0 has quit [Ping timeout: 265 seconds]
_aeris_ has quit [*.net *.split]
iNs has quit [*.net *.split]
TomyWork has quit [Remote host closed the connection]
jenrzzz has joined #ruby
stryek has quit [Quit: Connection closed for inactivity]
hiroaki has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 264 seconds]
seed0 has joined #ruby
panorain has quit [Ping timeout: 265 seconds]
kristian_on_linu has quit [Remote host closed the connection]
panorain has joined #ruby
venmx has joined #ruby
venmx has quit [Ping timeout: 260 seconds]
<ule>
Hey folks, lets say that I have this: foo = "hi", why doing something like this doesn't work? "foo".constantize ?
<ule>
Do you know how to achieve the same result? I want to call a variable dynamically because I know its name as string
JoL1hAHN has joined #ruby
<adam12>
ule: "foo".constantize is a Rails'ish (provided by ActiveSupport).
<adam12>
ule: "foo isn't a constant. It's a local variable.
<Eiam>
isnt' constant FOO = "hi" ?
<ule>
Yeah, I want to call actually a variable using the same idea
<Eiam>
or foo.freeze i guess
<adam12>
ule: Without ActiveSupport, you might want `binding.local_variable_get(:foo)`
<Eiam>
if its a string
<ule>
ohh nice
<ule>
let me try here.. thanks guys!
hiroaki has joined #ruby
<Eiam>
I just slap # frozen_string_literal: true onto every file these days
<CommunistWolf>
*sob*
maryo has quit [Ping timeout: 264 seconds]
pilne has joined #ruby
pilne has quit [Read error: Connection reset by peer]
pilne has joined #ruby
<havenwood>
CommunistWolf: But why?
<CommunistWolf>
we have a linter that complains if we don't do this
<CommunistWolf>
I often forget
<havenwood>
I'd prefer it as a default in Ruby 3, but alas.
jenrzzz has quit [Ping timeout: 260 seconds]
gix has joined #ruby
_aeris_ has joined #ruby
TCZ has joined #ruby
trautwein has joined #ruby
ur5us has joined #ruby
iNs has joined #ruby
trautwein has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
s3nd1v0g1us has joined #ruby
<Eiam>
at least its easy to add? lol
teardown has joined #ruby
teardown_ has joined #ruby
Chuckfu has joined #ruby
<Chuckfu>
how do I upgrade ruby 2.6.6 to 2.7.2
ur5us_ has joined #ruby
teardown_ has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 256 seconds]
ur5us has quit [Ping timeout: 260 seconds]
teardown has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
teardown has joined #ruby
riceandb1ans has quit [Quit: leaving]
xco has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
venmx has joined #ruby
teardown_ has joined #ruby
<Chuckfu>
Anyone here outa 422 people in the room
teardown has quit [Ping timeout: 268 seconds]
venmx has quit [Ping timeout: 240 seconds]
<ule>
Chuckfu: well, if you use a ruby version manager like RVM or RBENV things are easier.. anyways, it all depends where do you want to upgrade the Ruby Version. BTW, you should go to version 3 :)
<Chuckfu>
I am updating a mastodon instance and they only mention 2.7.2
hiroaki has quit [Ping timeout: 240 seconds]
<ule>
Is that under Dockerfile? I have no idea how Mastodon works
<ule>
Yeah, be careful, upgrading might break some code, so maybe the system is not 100% compatible yet
teardown has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
hiroaki has joined #ruby
dinfuehr has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
teardown_ has quit [Ping timeout: 268 seconds]
teardown_ has joined #ruby
jhill has quit [Ping timeout: 244 seconds]
<Chuckfu>
Ule thank you for the warning, I did not use docker
nickb has quit [Ping timeout: 240 seconds]
kozowu has quit [Ping timeout: 240 seconds]
howdoi has quit [Ping timeout: 240 seconds]
dputtick has quit [Ping timeout: 260 seconds]
chromis has quit [Read error: Connection reset by peer]
englishm has quit [Read error: Connection reset by peer]
ec has quit [Read error: Connection reset by peer]
CustosLimen has quit [Read error: Connection reset by peer]
clinth has quit [Ping timeout: 264 seconds]
clinth_ has joined #ruby
jerme_ has quit [Ping timeout: 265 seconds]
jhill has joined #ruby
kwilczynski has quit [Ping timeout: 272 seconds]
afisher has quit [Ping timeout: 260 seconds]
r3my_ has joined #ruby
ec has joined #ruby
afisher_ has joined #ruby
chromis has joined #ruby
dputtick has joined #ruby
kozowu has joined #ruby
howdoi has joined #ruby
r3my has quit [Ping timeout: 272 seconds]
r3my_ is now known as r3my
englishm has joined #ruby
nickb has joined #ruby
kwilczynski has joined #ruby
CustosLimen has joined #ruby
jerme_ has joined #ruby
teardown has quit [Ping timeout: 268 seconds]
teardown_ has quit [Ping timeout: 268 seconds]
kristian_on_linu has joined #ruby
teardown has joined #ruby
chouhoulis has quit [Remote host closed the connection]
teardown_ has joined #ruby
SeepingN has joined #ruby
jordanh has quit [Quit: authenticating]
jordanh has joined #ruby
teardown has quit [Ping timeout: 268 seconds]
trautwein has joined #ruby
teardown has joined #ruby
trautwein has quit [Ping timeout: 240 seconds]
cliluw has quit [Read error: Connection reset by peer]
Jonopoly has joined #ruby
teardown_ has quit [Ping timeout: 268 seconds]
teardown_ has joined #ruby
teardown has quit [Ping timeout: 268 seconds]
cliluw has joined #ruby
teardown has joined #ruby
powerhouse has quit [Quit: Leaving]
teardown_ has quit [Ping timeout: 268 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kristian_on_linu has quit [Remote host closed the connection]
teardown_ has joined #ruby
teardown has quit [Ping timeout: 268 seconds]
teardown has joined #ruby
teardown_ has quit [Ping timeout: 268 seconds]
teardown_ has joined #ruby
powerhouse has joined #ruby
powerhouse has quit [Read error: Connection reset by peer]
teardown has quit [Ping timeout: 268 seconds]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
TCZ has quit [Remote host closed the connection]
Rudd0 has quit [Ping timeout: 240 seconds]
Chuckfu has quit [Quit: Connection closed]
teardown has joined #ruby
afisher_ is now known as afisher
teardown_ has quit [Ping timeout: 268 seconds]
FrankyCyborg has quit [Ping timeout: 246 seconds]
teardown_ has joined #ruby
teardown has quit [Ping timeout: 268 seconds]
cliluw has quit [Read error: Connection reset by peer]
venmx has joined #ruby
orbyt_ has joined #ruby
iNs has quit [Remote host closed the connection]
iNs has joined #ruby
teardown has joined #ruby
teardown_ has quit [Ping timeout: 268 seconds]
TCZ has joined #ruby
GodFather has quit [Remote host closed the connection]