应该是一个简单的,但谷歌没有帮助:无法找到一种方法让rails在请求到期之前等待更长时间
ActionView :: Template ::错误(执行已过期)
=> Booting Thin
=> Rails 3.2.3 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Run Code Online (Sandbox Code Playgroud) 安装: ostaptan:~ostap $ brew install imagemagick --disable-openmp --from-source
==> Downloading http://downloads.sf.net/project/machomebrew/mirror/ImageMagick-6.7.7-6.tar.bz2
Already downloaded: /Library/Caches/Homebrew/imagemagick-6.7.7-6.tar.bz2
==> Patching
patching file configure
Hunk #1 succeeded at 32371 (offset 447 lines).
==> ./configure --disable-osx-universal-binary --without-perl --prefix=/usr/local/Cellar/imagemagick/6.7.7-6 --enable-shared --disable-static
==> make install
Error: The linking step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link imagemagick'
==> Summary
/usr/local/Cellar/imagemagick/6.7.7-6: 1388 files, 32M, built in 61 seconds
Run Code Online (Sandbox Code Playgroud)
在安装中链接错误后链接:
ostaptan:wand ostap $ brew链接imagemagick
Linking /usr/local/Cellar/imagemagick/6.7.7-6...
Error: …Run Code Online (Sandbox Code Playgroud) 我使用Faye在多人游戏的轨道3上进行了项目.错误
block in close': undefined methodclose_connection_after_writing'为nil:NilClass(NoMethodError)
from /Users/ostap/.rvm/gems/ruby-1.9.3-p125@chats/gems/faye-websocket-0.4.5/lib/faye/websocket/api.rb:89:in `call'
from /Users/ostap/.rvm/gems/ruby-1.9.3-p125@chats/gems/faye-websocket-0.4.5/lib/faye/websocket/api.rb:89:in `close'
from /Users/ostap/.rvm/gems/ruby-1.9.3-p125@chats/gems/faye-websocket-0.4.5/lib/faye/websocket.rb:198:in `fail'
from /Users/ostap/.rvm/gems/ruby-1.9.3-p125@global/gems/thin-1.3.1/lib/thin/connection.rb:155:in `unbind'
from /Users/ostap/.rvm/gems/ruby-1.9.3-p125@global/gems/eventmachine-0.12.10/lib/eventmachine.rb:1417:in `event_callback'
from /Users/ostap/.rvm/gems/ruby-1.9.3-p125@global/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
from /Users/ostap/.rvm/gems/ruby-1.9.3-p125@global/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
from /Users/ostap/.rvm/gems/ruby-1.9.3-p125@global/gems/thin-1.3.1/lib/thin/backends/base.rb:61:in `start'
from /Users/ostap/.rvm/gems/ruby-1.9.3-p125@global/gems/thin-1.3.1/lib/thin/server.rb:159:in `start'
from /Users/ostap/.rvm/gems/ruby-1.9.3-p125@global/gems/rack-1.4.1/lib/rack/handler/thin.rb:13:in `run'
from /Users/ostap/.rvm/gems/ruby-1.9.3-p125@global/gems/rack-1.4.1/lib/rack/server.rb:265:in `start'
from /Users/ostap/.rvm/gems/ruby-1.9.3-p125@global/gems/rack-1.4.1/lib/rack/server.rb:137:in `start'
from /Users/ostap/.rvm/gems/ruby-1.9.3-p125@global/gems/rack-1.4.1/bin/rackup:4:in `<top (required)>'
from /Users/ostap/.rvm/gems/ruby-1.9.3-p125@chats/bin/rackup:19:in `load'
from /Users/ostap/.rvm/gems/ruby-1.9.3-p125@chats/bin/rackup:19:in `<main>'
Run Code Online (Sandbox Code Playgroud)
在我的faye服务器启动后使用命令
rackup faye.ru -s thin -E production
这样的错误怎么办?怎么样呢?我该怎么处理?