Relative path for --socket option fails
-
Michael Klishin (antares)
I believe this exception is from EventMachine.
-
macournoyer
- State changed from new to open
- Tag set to usability
It really is a Thin issue cause it tries to open a TCP connection: ...start_tcp_server... That's because Thin seek for a slash in the hostname to determine if it's a socket. --socket is just an alias for --host.
socket => tcp host ./socket => unix socket
I know that's not intuitive, that's I want to fix it.
-
macournoyer
a simple workaround is to prepend ./ to the socket name you want to use if no slash is in the filename already, eg.:
thin start --socket ./sockfile
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.