Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ruby-on-rails-3/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails Ruby/Juggernaut错误-Errno::EconRefused(连接被拒绝…)_Ruby On Rails_Ruby On Rails 3_Cappuccino_Juggernaut - Fatal编程技术网

Ruby on rails Ruby/Juggernaut错误-Errno::EconRefused(连接被拒绝…)

Ruby on rails Ruby/Juggernaut错误-Errno::EconRefused(连接被拒绝…),ruby-on-rails,ruby-on-rails-3,cappuccino,juggernaut,Ruby On Rails,Ruby On Rails 3,Cappuccino,Juggernaut,我正在玩,这基本上是rails的一个超级聊天,当我试图提交帖子时,我会遇到以下错误。有人能告诉我这个错误是从哪里来的吗 请告诉我应该发布哪些文件,以便有人能够诊断此错误。 Processing JuggernautController#send_message (for ::1 at 2011-07-30 16:19:47) [GET] Parameters: {"sender"=>"w", "message"=>"hello"} Errno::ECONNREFUSED (Co

我正在玩,这基本上是rails的一个超级聊天,当我试图提交帖子时,我会遇到以下错误。有人能告诉我这个错误是从哪里来的吗

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

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)
Processing JuggernautController#send_message(for::1 at 2011-07-30 16:19:47)[GET]
参数:{“发件人”=>“w”,“消息”=>“你好”}
错误号::ECONREFUSSED(连接被拒绝-连接(2)):
app/controllers/juggernaut\u controller.rb:10:in'send\u message'
:10:在“同步”中
/Users/fred/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:在“服务”中
/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'
渲染救援/_轨迹(52.2ms)
提供救援/请求和响应(0.4ms)
渲染救援/布局(内部服务器错误)

您的巨型服务器似乎没有运行?我会安装(如果还没有)并将其作为守护进程或单独的屏幕运行


关于

我做了juggernaut-c juggernaut.yml和终端输出的更多信息info-socket.io启动了?我需要做更多的事情来启动服务器吗?看起来它正在运行。重新启动你的Rails应用程序,看看它是否工作。不,我检查了服务器是否运行并重新启动了应用程序,但仍然收到错误消息。你知道还有什么可能导致这个问题吗?