• #3 楼 @leoliran

    brew install leptonica-devel 我这边安装的时候为什么找不到呀 Error: No available formula with the name "leptonica-devel" ==> Searching for similarly named formulae... Error: No similarly named formulae found. ==> Searching taps... Error: No formulae found in taps.

  • 在 dashboard 如何实时监听数据数据更新并展示到页面。。。。。 x = ch.fanout("admin.page_views") ch.queue("dashboard.page_views", durable: true).bind("admin.page_views")

    x = ch.fanout("blog.page_views") ch.queue("dashboard.page_views", durable: true).bind("blog.page_views") 这段话没明白。作用时干嘛的。

  • #1 楼 @huacnlee 两个客户端发送消息,在开发环境下发送消息很快, 但是在生产环境中,第一次发送消息需要很长时间,第二次失败,,,, 有没有遇到这个问题的呢,不知道生产环境中是否还需要配置其它东西。。。。

  • #35 楼 @zyjloveher 谢谢好人。。。

  • #32 楼 @huacnlee 这是所有日志信息了。 初学。。求大神指教。。

  • #32 楼 @huacnlee

    D, [2015-10-28T17:41:30.913095 #15649] DEBUG -- :
    D, [2015-10-28T17:41:30.913134 #15649] DEBUG -- :
    D, [2015-10-28T17:41:30.913150 #15649] DEBUG -- :
    D, [2015-10-28T17:41:30.913160 #15649] DEBUG -- :
    I, [2015-10-28T17:41:30.913247 #15649]  INFO -- : Started GET "/account/create" for 127.0.0.1 at 2015-10-28 17:41:30 +0800
    I, [2015-10-28T17:41:30.913281 #15649]  INFO -- : Started GET "/account/create" for 127.0.0.1 at 2015-10-28 17:41:30 +0800
    I, [2015-10-28T17:41:30.918152 #15649]  INFO -- : Processing by AccountController#create as HTML
    I, [2015-10-28T17:41:30.918192 #15649]  INFO -- : Processing by AccountController#create as HTML
    I, [2015-10-28T17:41:30.920299 #15649]  INFO -- :   Rendered account/new.html.erb within layouts/account (0.3ms)
    I, [2015-10-28T17:41:30.920351 #15649]  INFO -- :   Rendered account/new.html.erb within layouts/account (0.3ms)
    I, [2015-10-28T17:41:30.920506 #15649]  INFO -- : Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
    I, [2015-10-28T17:41:30.920532 #15649]  INFO -- : Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
    D, [2015-10-28T17:41:30.931817 #15649] DEBUG -- :
    D, [2015-10-28T17:41:30.931848 #15649] DEBUG -- :
    D, [2015-10-28T17:41:30.931864 #15649] DEBUG -- :
    D, [2015-10-28T17:41:30.931875 #15649] DEBUG -- :
    I, [2015-10-28T17:41:30.931980 #15649]  INFO -- : Started GET "/rucaptcha/" for 127.0.0.1 at 2015-10-28 17:41:30 +0800
    I, [2015-10-28T17:41:30.932102 #15649]  INFO -- : Started GET "/rucaptcha/" for 127.0.0.1 at 2015-10-28 17:41:30 +0800
    I, [2015-10-28T17:41:30.936878 #15649]  INFO -- : Processing by RuCaptcha::CaptchaController#index as HTML
    I, [2015-10-28T17:41:30.936913 #15649]  INFO -- : Processing by RuCaptcha::CaptchaController#index as HTML
    I, [2015-10-28T17:41:30.958078 #15649]  INFO -- :   Rendered text template (0.0ms)
    I, [2015-10-28T17:41:30.958136 #15649]  INFO -- :   Rendered text template (0.0ms)
    I, [2015-10-28T17:41:30.958228 #15649]  INFO -- : Sent data  (0.5ms)
    I, [2015-10-28T17:41:30.958247 #15649]  INFO -- : Sent data  (0.5ms)
    I, [2015-10-28T17:41:30.958317 #15649]  INFO -- : Completed 200 OK in 21ms (Views: 0.4ms | ActiveRecord: 0.0ms)
    I, [2015-10-28T17:41:30.958341 #15649]  INFO -- : Completed 200 OK in 21ms (Views: 0.4ms | ActiveRecord: 0.0ms)
    
  • #30 楼 @huacnlee

    ERROR Errno::ECONNRESET: Connection reset by peer @ io_fillbuf - fd:18
        /Users/huzige/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:80:in `eof?'
        /Users/huzige/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:80:in `run'
        /Users/huzige/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
    

    跟这个有关系吗?

  • 什么图片显示不出来呢。。。又无异常出现。。初学 ruby on rails 求大神帮忙解决。