Rails 3.2.6 で Rails アプリを作成しています。ただし、ユニコーンとnginxを接続したいのですが、次のエラーが発生しています:
/path/to/home/.rvm/gems/ruby-1.9.3-p194/gems/unicorn-4.3.1/lib/unicorn/configurator.rb:492:in `working_directory': config_file=unicorn.conf.minimal.rb would not be accessible in working_directory=/path/to/rails/app (ArgumentError)
構成ファイルが間違っていると思いますが、どのように動作させるのですか?
私はこれを使いますunicorn.conf.minimal.rb
working_directory "/path/to/rails/app"
listen "/path/to/app/tmp/sockets/unicorn.sock", :backlog => 64
listen 8080 # by default Unicorn listens on port 8080
worker_processes 2 # this should be >= nr_cpus
pid "/home/paisen/shour_teaser/config/unicorn/pids/unicorn.pid"
stderr_path "/path/to/rails/app/config/unicorn/log/stderr.log"
stdout_path "/path/to/rails/app/config/unicorn/log/stdout.log"