Using rails 4, rubinius at master (372b2d2) and puma 2.5.0.
Current config:
#!/usr/bin/env puma
basedir = '/var/www/2u/web/current'
directory "#{basedir}"
environment 'production'
daemonize true
bind "unix://#{basedir}/tmp/puma/puma.sock"
pidfile "#{basedir}/tmp/puma/pid"
state_path "#{basedir}/tmp/puma/state"
# stdout_redirect "#{basedir}/tmp/log/out.puma.log", "#{basedir}/tmp/log/err.puma.log", true
threads 4, 24
#workers 1
preload_app!
When i uncomment the stdout_redirect it will write to out.puma.log:
=== puma startup: 2013-08-27 16:09:15 +0000 ===
But it crashes after what seems like the full bootup, with nothing going into err.puma.log.
Edit: looks like working now.