<auk>
i guess what i'm looking at is a hash not a method keyword argument call
<adam12>
auk: Correct. It's a Hash with a symbol key.
<adam12>
auk: It's 1.8 syntax, often referred to as a hash rocket.
<auk>
adam12, ahh thank you. i think hash rocket is the magic words i need to find info on it
<adam12>
auk: cheers.
grawlinson has quit [Quit: SIGTERM]
motherr has joined #ruby
easbarbosa has joined #ruby
grawlinson has joined #ruby
ur5us__ has quit [Ping timeout: 258 seconds]
auk has quit [Quit: Leaving]
fmccann has quit [Quit: Exeunt!]
gggp has joined #ruby
vaillancourtmax has quit [Quit: Leaving]
motherr has quit [Quit: zzz]
gggp_ has joined #ruby
orbyt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
qk1z has joined #ruby
gggp has quit [Ping timeout: 272 seconds]
ur5us__ has joined #ruby
ua_ has quit [Excess Flood]
ua_ has joined #ruby
kenichi has quit [Ping timeout: 245 seconds]
ua_ has quit [Excess Flood]
ua_ has joined #ruby
Rounin has quit [Ping timeout: 258 seconds]
jetchisel has quit [Ping timeout: 245 seconds]
shokohsc has quit [Read error: Connection reset by peer]
shokohsc has joined #ruby
motherr has joined #ruby
motherr has quit [Client Quit]
cer-0 has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 245 seconds]
kenichi has joined #ruby
cer-0 has quit [Ping timeout: 240 seconds]
cer-0 has joined #ruby
ur5us__ has quit [Remote host closed the connection]
ur5us__ has joined #ruby
easbarbosa has quit [Ping timeout: 256 seconds]
cer-0 has quit [Ping timeout: 245 seconds]
pgib has quit [Ping timeout: 252 seconds]
lunarkitty has quit [Quit: Connection closed for inactivity]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 258 seconds]
gr33n7007h has quit [Ping timeout: 258 seconds]
kaleido has quit [Remote host closed the connection]
kaleido has joined #ruby
kaleido has quit [Changing host]
kaleido has joined #ruby
ur5us__ has quit [Ping timeout: 272 seconds]
mrkz_c has quit [Quit: Connection closed for inactivity]
ShalokShalom66 has joined #ruby
<nakilon>
btw, having a trouble using tty-prompt
<nakilon>
I need to loop a prompt with select, and pass as a default the option user selected previous time
<nakilon>
the problem is that #select returns the :value while :default wants the :name
<nakilon>
would be better if it returned the whole structure with name and value
gggp_ has quit [Ping timeout: 272 seconds]
<nakilon>
seems like I have to make a kludge of adding the name to the value
lessless has joined #ruby
gr33n7007h has joined #ruby
gggp_ has joined #ruby
constxd has joined #ruby
<constxd>
is the #ruby on freenode still the most active ruby irc channel?
Oxfuxxx has quit [Ping timeout: 258 seconds]
Oxfuxxx has joined #ruby
jetchisel has joined #ruby
_ht has joined #ruby
Oxfuxxx has quit [Ping timeout: 245 seconds]
<nakilon>
idk, ops here said we are moved here so I disconnected; also lazy to reregister my account
<nakilon>
that was a smart move by saboteurs -- instead of dropping the freenode database and then proposing to register here (and people would think 'why the hell should we reregister in another place?!') they did it in the opposite order, by making people register here first and only then dropping the db
* nakilon
is silent
Oxfuxxx has joined #ruby
qk1z has quit [Quit: WeeChat 2.8]
Oxfuxxx has quit [Read error: Connection reset by peer]
Oxfuxxx has joined #ruby
Oxfuxxx has quit [Client Quit]
Oxfuxxx has joined #ruby
menace has joined #ruby
menace has quit [Changing host]
menace has joined #ruby
menace is now known as Deknos
Oxfuxxx has quit [Ping timeout: 258 seconds]
Oxfuxxx has joined #ruby
gggp__ has joined #ruby
Oxfuxxx_ has joined #ruby
gggp_ has quit [Ping timeout: 252 seconds]
Oxfuxxx has quit [Ping timeout: 256 seconds]
TomyWork has joined #ruby
ShalokShalom66 has quit [Ping timeout: 246 seconds]
gggp_ has joined #ruby
gggp__ has quit [Ping timeout: 256 seconds]
Rounin has joined #ruby
flooose has joined #ruby
ur5us__ has joined #ruby
elf_fortrez has joined #ruby
Oxfuxxx_ has quit [Quit: leaving]
crankharder has joined #ruby
<adam12>
constxd: I'd be surprised if this wasn't the most active ruby irc channel now.
crankharder has quit [Ping timeout: 272 seconds]
crankharder has joined #ruby
gggp__ has joined #ruby
gggp_ has quit [Remote host closed the connection]
ShalokShalom has joined #ruby
ShalokShalom has left #ruby [#ruby]
gggp_ has joined #ruby
gggp__ has quit [Ping timeout: 272 seconds]
ur5us__ has quit [Ping timeout: 258 seconds]
gggp__ has joined #ruby
gggp_ has quit [Ping timeout: 252 seconds]
Oxfuxxx has joined #ruby
motherr has joined #ruby
aesthetikx has quit [Quit: WeeChat 3.2]
gggp__ has quit [Read error: Connection reset by peer]
gggp has joined #ruby
motherr has quit [Quit: motherr]
flooose has quit [Ping timeout: 240 seconds]
gggp has quit [Remote host closed the connection]
gggp has joined #ruby
gggp has quit [Remote host closed the connection]
gggp has joined #ruby
gggp has quit [Remote host closed the connection]
gggp has joined #ruby
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
<adam12>
fdan: I'd try using a path that's not /root. Like /usr/src/app or something.
<adam12>
fdan: Is /root something that you've set for Docker to bind-mount, or a volume? or part of the Dockerfile?
<adam12>
fdan: Can you share your Dockerfile too?
<fdan>
i found one error , the public directory was in /
<weaksauce>
what are the permissions of that file?
<adam12>
fdan: Share Dockerfile, and share how you're running this image. docker-compose (share your docker-compose.yml) or docker cli (share the command you're using)
<adam12>
I'd personally punt on this image and just use the official Ruby image. Then do what weaksauce suggested and use Caddy.
<adam12>
Outside of that, I'd probably update the Dockerfile to `mkdir /usr/src/app`, make a user `useradd app`, then `copy --chown=app . /usr/src/app`. Configure nginx to use /usr/src/app/public as root.
<fdan>
is my configuration right with respect to the passenger
<fdan>
i dont want to use caddy for this task..
<fdan>
right now nginx default page loads for me
<adam12>
fdan: It looks OK. I think you're running into permission issues. /root is protected, and nginx is likely not running as it.
<adam12>
fdan: What about using the full passenger image for now, then switching to a different one?
<adam12>
fdan: Yes. Passenger is always paired with nginx.
<adam12>
fdan: That might be because containers generally log to stdout/stderr, tho the Phusion folks like to deviate in their containers so I'm not sure if that holds true.