简体   繁体   中英

mongrel_rails cluster::start does not work, looks for daemons/daemonize

I'm having a mongrel_cluster.yml file with the below content:

cat mongrel_cluster.yml
---
port: "8000"
servers: 2
pid_file: tmp/pids/mongrel.pid
log_file: log/mongrel.log
cwd: /home/directory

When i try to start

mongrel_rails cluster::start

it says that

LoadError: no such file to load -- daemons/daemonize
require at org/jruby/RubyKernel.java:1033

I do not have root access. However i have seen this link i assume that we need not have any root access just to test the command as said in point numbe 5 in the link

http://www.ruby-forum.com/topic/54226 This was the ruby-forum post by Zed Shaw about a Mongrel release. The problem is with mongrel_rails script (not a gem)

mongrel_rails uses daemons gem and that's why the error. Install it by:

gem install daemons

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM