いま puma.state は空のファイルを置いてます。
しかしエラーが出ます。
puma.state のファイルの書き方が分かりません。
参考サイトなどどこかにございますでしょうか。
$ bundle exec pumactl -S ./tmp/pids/puma.state -F ./puma.rb stop undefined method `[]' for false:FalseClass
下記の state のことです。
-S, --state PATH Where the state file to use is
$ bundle exec pumactl --help Usage: pumactl (-p PID | -P pidfile | -S status_file | -C url -T token | -F config.rb) (halt|restart|phased-restart|start|stats|status|stop|reload-worker-directory) -S, --state PATH Where the state file to use is -Q, --quiet Not display messages -P, --pidfile PATH Pid file -p, --pid PID Pid -C, --control-url URL The bind url to use for the control server -T, --control-token TOKEN The token to use as authentication for the control server -F, --config-file PATH Puma config script -H, --help Show this message -V, --version Show version
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。