Homeland [已解决]-_-# 遇到一个启动 resque 的问题。

jinleileiking · 2012年02月20日 · 最后由 jinleileiking 回复于 2012年02月21日 · 3134 次阅读

➜  ruby-china git:(master) ✗ ./script/resque start
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from <top (required)> at /mnt/sharedisk/src/ruby-china/config/application.rb:13)
:public is no longer used to avoid overloading Module#public, use :public_folder instead
    from /home/jinleileiking/.rvm/gems/ruby-1.9.3-p125/gems/resque-1.19.0/lib/resque/server.rb:12:in `<class:Server>'
/home/jinleileiking/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `require': cannot load such file -- daemon_spawn (LoadError)
    from /home/jinleileiking/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `block in require'
    from /home/jinleileiking/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:236:in `load_dependency'
    from /home/jinleileiking/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `require'
    from ./script/resque:6:in `<main>'

好像是 activesupport 需要 daemon_spawn? 找到 daemon-spawn 这个 gem 装了也没用。。。

修好了 这个是需要在 Gemfile 里面引用 daemon-spawn 这个 Gem

我也找到这个原因了,ruby-china / script / resque 这个脚本是你写的吧.. 折腾了半天 -_-#

需要 登录 后方可回复, 如果你还没有账号请 注册新账号