Ошибка при перезапуске Thin для моего приложения Ruby on Rails

Я пытаюсь использовать следующую команду, чтобы перезапустить тонкий.

thin restart -c config/thin.yml

Вот содержимое thin.yml:

rackup: /root/SEHabitat/config.ru
pid: /tmp/pids/thin.pid
wait: 30
timeout: 600
log: /root/SEHabitat/log/thin.log
max_conns: 1024
require: []

max_persistent_conns: 512
environment: production
servers: 3
daemonize: true
#chdir: /root/SEHabitat
socket: /tmp/thin.sock
#port: 3000

Вот результат:

/usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/runner.rb:171:in `chdir': Not a directory - /root/SEHabitat/config/thin.yml (Errno::ENOTDIR)
from /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/runner.rb:171:in `run_command'
from /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/runner.rb:151:in `run!'
from /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/bin/thin:6
from /usr/bin/thin:19:in `load'
from /usr/bin/thin:19
6
задан Ian Mason 7 March 2012 в 13:56
поделиться