Ruby / Juggernaut错误 - Errno :: ECONNREFUSED(连接被拒绝......)

时间:2011-07-30 06:25:09

标签: ruby-on-rails ruby-on-rails-3 cappuccino juggernaut

我正在玩https://github.com/elii/Cappuccino-X-Juggernaut,这基本上是一个关于rails的juggernaut聊天,当我尝试提交帖子时,我收到以下错误。有人能告诉我这个错误来自哪里吗?

请告诉我应该发布哪些文件,以便有人可以诊断此错误。

Processing JuggernautController#send_message (for ::1 at 2011-07-30 16:19:47) [GET]
  Parameters: {"sender"=>"w", "message"=>"hello"}

Errno::ECONNREFUSED (Connection refused - connect(2)):
  app/controllers/juggernaut_controller.rb:10:in `send_message'
  <internal:prelude>:10:in `synchronize'
  /Users/fred/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
  /Users/fred/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
  /Users/fred/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'

Rendered rescues/_trace (52.2ms)
Rendered rescues/_request_and_response (0.4ms)
Rendering rescues/layout (internal_server_error)

1 个答案:

答案 0 :(得分:0)

看起来你的juggernaut服务器没有运行?我会安装(如果还没有)并将其作为守护程序或单独的屏幕运行。

有关juggernaut

的更多信息