hadoop@rubypc:~/src/jshop$ pwd /home/hadoop/src/jshop
hadoop@rubypc:~/src/jshop$ ls app Capfile config.ru Gemfile lib public README.md tmp bin config db Gemfile.lock log Rakefile README.rdoc vendor
hadoop@rubypc:~/src/jshop$ cat config/unicorn.rb
rails_env = ENV["RAILS_ENV"] || "production"
app_path = "/home/hadoop/src/jshop"
preload_app true working_directory "#{app_path}" pid "/tmp/jshop_unicorn.pid" stderr_path "#{app_path}/log/unicorn.log" stdout_path "#{app_path}/log/unicorn.log"
listen 8070, :tcp_nopush => false
listen "/tmp/unicorn.jshop.sock", backlog: 1024 worker_processes 2 timeout 30
hadoop@rubypc:~/src/jshop$ ls -lat /home/hadoop/src/jshop/config/unicorn.rb -rw-rw-r-- 1 hadoop hadoop 387 8 月 31 23:00 /home/hadoop/src/jshop/config/unicorn.rb
hadoop@rubypc:~/src/jshop$ unicorn_rails -c /home/hadoop/src/jshop/config/unicorn.rb bash: unicorn_rails -c /home/hadoop/src/jshop/config/unicorn.rb: 没有那个文件或目录
请问,是什么原因? 是 unicorn.rb 文件的内容有问题,还是命令的执行方式有问题?